Skip to content

Commit 6332e39

Browse files
committed
roomsettings css fixes
1 parent 82742f9 commit 6332e39

2 files changed

Lines changed: 26 additions & 7 deletions

File tree

‎src/skins/vector/css/matrix-react-sdk/views/rooms/RoomHeader.css‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ limitations under the License.
194194

195195
.mx_RoomHeader_editable {
196196
border-bottom: 1px solid #c7c7c7 ! important;
197-
min-width: 70px;
197+
min-width: 150px;
198198
cursor: text;
199199
}
200200

‎src/skins/vector/css/matrix-react-sdk/views/rooms/RoomSettings.css‎

Lines changed: 25 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ limitations under the License.
6060
*/
6161

6262
.mx_RoomSettings .mx_RoomSettings_toggles label {
63-
margin-bottom: 10px;
63+
margin-bottom: 8px;
6464
display: block;
6565
}
6666

@@ -74,7 +74,7 @@ limitations under the License.
7474
}
7575

7676
.mx_RoomSettings .mx_RoomSettings_tags {
77-
margin-bottom: 10px;
77+
margin-bottom: 8px;
7878
}
7979

8080
.mx_RoomSettings .mx_RoomSettings_roomColor {
@@ -99,29 +99,48 @@ limitations under the License.
9999
width: 100%;
100100
}
101101

102+
.mx_RoomSettings .mx_RoomSettings_aliasLabel {
103+
margin-bottom: 8px;
104+
}
105+
102106
.mx_RoomSettings .mx_RoomSettings_aliasesTable {
103107
margin-top: 12px;
104-
margin-bottom: 12px;
108+
margin-bottom: -16px;
105109
margin-left: 56px;
106110
display: table;
107111
}
108112

109-
.mx_RoomSettings .mx_RoomSettings_aliasesRow {
113+
.mx_RoomSettings .mx_RoomSettings_aliasesTableRow {
110114
display: table-row;
115+
margin-bottom: 16px;
111116
}
112117

113118
.mx_RoomSettings .mx_RoomSettings_alias {
114-
display: table-cell;
115-
margin-bottom: 20px;
119+
max-width: 400px;
120+
margin-bottom: 16px;
121+
/*
122+
commented out so margin applies
123+
display: table-cell; */
116124
}
117125

118126
.mx_RoomSettings .mx_RoomSettings_addAlias,
119127
.mx_RoomSettings .mx_RoomSettings_deleteAlias {
120128
display: table-cell;
121129
padding-left: 0.5em;
130+
position: relative;
122131
cursor: pointer;
123132
}
124133

134+
.mx_RoomSettings .mx_RoomSettings_addAlias img,
135+
.mx_RoomSettings .mx_RoomSettings_deleteAlias img {
136+
visibility: hidden;
137+
}
138+
139+
.mx_RoomSettings .mx_RoomSettings_aliasesTableRow:hover .mx_RoomSettings_addAlias img,
140+
.mx_RoomSettings .mx_RoomSettings_aliasesTableRow:hover .mx_RoomSettings_deleteAlias img {
141+
visibility: visible;
142+
}
143+
125144
.mx_RoomSettings_editable {
126145
border: 0px;
127146
border-bottom: 1px solid #c7c7c7;

0 commit comments

Comments
 (0)