File tree 4 files changed +5
-12
lines changed
4 files changed +5
-12
lines changed Original file line number Diff line number Diff line change 5
5
margin-block : -1rem ;
6
6
padding-inline : 1rem ;
7
7
padding-block : 1rem ;
8
- user-select : none ;
9
8
}
10
9
11
10
.messageArea {
12
11
display : flex ;
13
- position : absolute ;
14
- inset : 0 ;
15
12
align-items : center ;
16
13
justify-content : center ;
17
14
}
18
15
19
16
.messageText {
20
- padding-inline : 1 rem ;
17
+ padding-inline : 2 rem ;
21
18
padding-block : 0.5rem ;
19
+ border : var (--separator-border );
22
20
color : var (--Popup__color );
23
21
background-color : var (--Popup__background-color );
24
22
box-shadow : var (--Popup--small__box-shadow );
25
23
}
26
-
27
- .capsLockMessageArea {
28
- position : relative ;
29
- padding : 5px 10px ;
30
- font-weight : bold ;
31
- }
Original file line number Diff line number Diff line change @@ -115,7 +115,7 @@ export function TextArea({
115
115
focus = { demo || focus }
116
116
/>
117
117
{ ! demo && focus && ModifierState . capsLock && (
118
- < div className = { styles . capsLockMessageArea } >
118
+ < div className = { styles . messageArea } >
119
119
< div className = { styles . messageText } >
120
120
< FormattedMessage
121
121
id = "textArea.capsLock.message"
Original file line number Diff line number Diff line change 3
3
font-kerning : none ;
4
4
font-variant : none ;
5
5
line-height : 1.2 ;
6
+ user-select : none ;
6
7
}
7
8
8
9
.wrap {
Original file line number Diff line number Diff line change 78
78
--Popup__color : var (--text-color );
79
79
--Popup__background-color : var (--background-color );
80
80
--Popup__box-shadow : 0 0.5rem 3rem var (--shadow-color );
81
- --Popup--small__box-shadow : 0 0.5 rem 1rem var (--shadow-color );
81
+ --Popup--small__box-shadow : 0 0 rem 1rem var (--shadow-color );
82
82
83
83
--Spotlight__background-color : #00000033 ;
84
84
--Spotlight__border-color : var (--secondary-l2 );
You can’t perform that action at this time.
0 commit comments