File tree 3 files changed +11
-22
lines changed
packages/keybr-pages-browser/lib
3 files changed +11
-22
lines changed Original file line number Diff line number Diff line change 3
3
.root {
4
4
position : sticky ;
5
5
inset-block-start : 0 ;
6
- max-inline-size : 12rem ;
7
- margin : 0 ;
8
- padding : 0 ;
6
+ max-inline-size : 10rem ;
9
7
box-shadow : var (--Surface__box-shadow );
10
8
backdrop-filter : var (--Surface__backdrop-filter );
11
9
}
18
16
display : flex ;
19
17
align-items : center ;
20
18
justify-content : flex-start ;
21
- block-size : 3rem ;
22
- margin : 0 ;
19
+ block-size : 2rem ;
23
20
padding-inline : 1rem ;
24
21
padding-block : 0 ;
25
22
color : var (--text-color );
26
- line-height : 3 rem ;
23
+ line-height : 2 rem ;
27
24
text-decoration : none ;
28
25
29
- & :hover {
30
- color : var (--text-color );
31
- background-color : var (--background-color );
32
- }
33
-
34
26
& .isActive {
35
27
color : var (--text-color );
36
- background-color : var (--background-color );
28
+ background-color : var (--primary-l1 );
37
29
}
38
30
}
39
31
40
32
.icon {
41
- display : inline-block ;
33
+ inline-size : 1rem ;
34
+ block-size : 1rem ;
35
+ fill : var (--secondary-f1 );
42
36
}
43
37
44
38
.label {
57
51
color : var (--text-color );
58
52
text-decoration : none ;
59
53
60
- & :hover {
61
- color : var (--text-color );
62
- background-color : var (--background-color );
63
- }
64
-
65
54
& .isActive {
66
55
color : var (--text-color );
67
- background-color : var (--background-color );
56
+ background-color : var (--primary-l1 );
68
57
}
69
58
}
70
59
71
60
.userName {
72
61
.text-truncate ();
73
- max-inline-size : 10 rem ;
62
+ max-inline-size : 8 rem ;
74
63
text-align : center ;
75
64
}
Original file line number Diff line number Diff line change @@ -115,7 +115,7 @@ function MenuItemLink({
115
115
to = { path }
116
116
title = { title && formatMessage ( title ) }
117
117
>
118
- < Icon shape = { icon ?? "" } />
118
+ < Icon className = { styles . icon } shape = { icon ?? "" } />
119
119
< span className = { styles . label } > { formatMessage ( label ) } </ span >
120
120
</ NavLink >
121
121
) ;
Original file line number Diff line number Diff line change 6
6
margin : 0 ;
7
7
padding-inline : 0 ;
8
8
padding-block : 1rem ;
9
- font-size : 0.8 rem ;
9
+ font-size : 0.75 rem ;
10
10
text-align : center ;
11
11
}
12
12
You can’t perform that action at this time.
0 commit comments