Skip to content
This repository was archived by the owner on Sep 11, 2024. It is now read-only.

Commit 43ea5de

Browse files
committed
Adjust Settings styles
1 parent 3d0db1b commit 43ea5de

File tree

4 files changed

+11
-14
lines changed

4 files changed

+11
-14
lines changed

res/css/_common.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -262,7 +262,7 @@ input[type=text]:focus, input[type=password]:focus, textarea:focus {
262262
font-weight: 300;
263263
font-size: $font-15px;
264264
position: relative;
265-
padding: 25px 30px 30px 30px;
265+
padding: 24px;
266266
max-height: 80%;
267267
box-shadow: 2px 15px 30px 0 $dialog-shadow-color;
268268
border-radius: 8px;

res/css/structures/_TabbedView.scss

Lines changed: 10 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,15 @@ limitations under the License.
1717

1818
.mx_TabbedView {
1919
margin: 0;
20-
padding: 0 0 0 58px;
20+
padding: 0 0 0 16px;
2121
display: flex;
2222
flex-direction: column;
2323
position: absolute;
2424
top: 0;
2525
bottom: 0;
2626
left: 0;
2727
right: 0;
28+
margin-top: 8px;
2829
}
2930

3031
.mx_TabbedView_tabLabels {
@@ -35,13 +36,13 @@ limitations under the License.
3536
}
3637

3738
.mx_TabbedView_tabLabel {
39+
display: flex;
40+
align-items: center;
3841
vertical-align: text-top;
3942
cursor: pointer;
40-
display: block;
41-
border-radius: 3px;
42-
font-size: $font-14px;
43-
min-height: 24px; // use min-height instead of height to allow the label to overflow a bit
44-
margin-bottom: 6px;
43+
padding: 8px 0;
44+
border-radius: 8px;
45+
font-size: $font-13px;
4546
position: relative;
4647
}
4748

@@ -51,9 +52,8 @@ limitations under the License.
5152
}
5253

5354
.mx_TabbedView_maskedIcon {
54-
margin-left: 6px;
55-
margin-right: 9px;
56-
margin-top: 1px;
55+
margin-left: 8px;
56+
margin-right: 16px;
5757
width: 16px;
5858
height: 16px;
5959
display: inline-block;
@@ -65,10 +65,9 @@ limitations under the License.
6565
mask-repeat: no-repeat;
6666
mask-size: 16px;
6767
width: 16px;
68-
height: 22px;
68+
height: 16px;
6969
mask-position: center;
7070
content: '';
71-
vertical-align: middle;
7271
}
7372

7473
.mx_TabbedView_tabLabel_active .mx_TabbedView_maskedIcon::before {

res/css/views/dialogs/_RoomSettingsDialog.scss

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,6 @@ limitations under the License.
4848
white-space: nowrap;
4949
overflow: hidden;
5050
margin: 0 auto;
51-
padding-left: 40px;
5251
padding-right: 80px;
5352
}
5453

res/css/views/dialogs/_SettingsDialog.scss

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@ limitations under the License.
3636
}
3737

3838
.mx_Dialog_title {
39-
text-align: center;
4039
margin-bottom: 24px;
4140
}
4241
}

0 commit comments

Comments
 (0)