File tree Expand file tree Collapse file tree 3 files changed +19
-7
lines changed
special-pages/pages/new-tab/app/customizer/components Expand file tree Collapse file tree 3 files changed +19
-7
lines changed Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ export function BrowserThemeSection(props) {
31
31
>
32
32
< span class = "sr-only" > { t ( 'customizer_browser_theme_label' , { type : 'light' } ) } </ span >
33
33
</ button >
34
- { t ( 'customizer_browser_theme_light' ) }
34
+ < span > { t ( 'customizer_browser_theme_light' ) } </ span >
35
35
</ li >
36
36
< li class = { styles . themeItem } >
37
37
< button
@@ -44,7 +44,7 @@ export function BrowserThemeSection(props) {
44
44
>
45
45
< span class = "sr-only" > { t ( 'customizer_browser_theme_label' , { type : 'dark' } ) } </ span >
46
46
</ button >
47
- { t ( 'customizer_browser_theme_dark' ) }
47
+ < span > { t ( 'customizer_browser_theme_dark' ) } </ span >
48
48
</ li >
49
49
< li class = { styles . themeItem } >
50
50
< button
@@ -57,7 +57,7 @@ export function BrowserThemeSection(props) {
57
57
>
58
58
< span class = "sr-only" > { t ( 'customizer_browser_theme_label' , { type : 'system' } ) } </ span >
59
59
</ button >
60
- { t ( 'customizer_browser_theme_system' ) }
60
+ < span > { t ( 'customizer_browser_theme_system' ) } </ span >
61
61
</ li >
62
62
</ ul >
63
63
) ;
Original file line number Diff line number Diff line change 5
5
--chip-size-half : calc (var (--chip-size ) / 2 );
6
6
}
7
7
.themeItem {
8
- display : grid;
9
- justify-items : center;
10
- grid-row-gap : 4px ;
8
+ width : 42px ;
9
+
10
+ span {
11
+ margin-top : 6px ;
12
+ text-align : center;
13
+ overflow : hidden;
14
+ text-overflow : ellipsis;
15
+ display : block;
16
+ width : 100% ;
17
+ }
11
18
}
12
19
.themeButton {
13
20
display : block;
Original file line number Diff line number Diff line change 18
18
display : flex;
19
19
justify-content : space-between;
20
20
align-items : center;
21
+ gap : 6px ;
22
+
23
+ > * {
24
+ overflow : hidden;
25
+ }
21
26
}
22
27
23
28
.internal {
30
35
width : 24px ;
31
36
height : 24px ;
32
37
position : relative;
38
+ flex-shrink : 0 ;
33
39
34
40
color : var (--color-black-at-84 );
35
41
background-color : var (--color-black-at-9 );
91
97
.bgListItem {
92
98
display : grid;
93
99
grid-row-gap : 4px ;
94
- white-space : nowrap;
95
100
position : relative;
96
101
97
102
& : hover {
You can’t perform that action at this time.
0 commit comments