File tree Expand file tree Collapse file tree 2 files changed +8
-3
lines changed
packages/components/bolt-modal Expand file tree Collapse file tree 2 files changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -25,10 +25,10 @@ properties:
25
25
description : Controls the width of the modal container.
26
26
default : optimal
27
27
enum :
28
- - auto
28
+ - full
29
29
- regular
30
30
- optimal
31
- - full
31
+ - auto
32
32
spacing :
33
33
type : string
34
34
description : Controls the spacing around the modal container.
Original file line number Diff line number Diff line change @@ -46,6 +46,9 @@ bolt-modal:not([ready]) {
46
46
47
47
.c-bolt-modal {
48
48
@include bolt-z-index (modal);
49
+ @include bolt-font-family (body);
50
+ @include bolt-font-size (medium );
51
+ @include bolt-font-weight (regular);
49
52
50
53
display : block ;
51
54
opacity : bolt-opacity (0 );
@@ -61,6 +64,7 @@ bolt-modal:not([ready]) {
61
64
62
65
& .is-open {
63
66
opacity : bolt-opacity (100 );
67
+ cursor : pointer ;
64
68
pointer-events : auto ;
65
69
overflow-y : auto ;
66
70
-webkit-overflow-scrolling : touch ;
@@ -163,9 +167,10 @@ bolt-modal:not([ready]) {
163
167
}
164
168
165
169
@at-root .c-bolt-modal.is-open #{&} {
170
+ cursor : auto ;
171
+
166
172
@include bolt-mq ($bolt-modal-breakpoint ) {
167
173
visibility : visible ;
168
- cursor : auto ;
169
174
transition : visibility 0s $bolt-transition-ease 0s ;
170
175
}
171
176
}
You can’t perform that action at this time.
0 commit comments