File tree Expand file tree Collapse file tree 3 files changed +6
-1
lines changed
demo/stories/css-variables Expand file tree Collapse file tree 3 files changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -20,6 +20,10 @@ export const Story: StoryObj<typeof component> = {
20
20
control : { type : 'text' } ,
21
21
description : 'Toolbar padding in sticky mode' ,
22
22
} ,
23
+ '--g-md-toolbar-sticky-border' : {
24
+ control : { type : 'text' } ,
25
+ description : 'Toolbar border in sticky mode' ,
26
+ } ,
23
27
'--g-md-editor-padding' : {
24
28
control : { type : 'text' } ,
25
29
description : 'Editor contents padding' ,
Original file line number Diff line number Diff line change @@ -9,4 +9,5 @@ You can use CSS variables to make editor contents fit your own needs
9
9
| ` --g-md-toolbar-sticky-padding ` | Toolbar padding in sticky mode | padding | -4px |
10
10
| ` --g-md-toolbar-sticky-inset ` | Toolbar inset in sticky mode | inset | -4px |
11
11
| ` --g-md-toolbar-sticky-offset ` | Toolbar offset in sticky mode | top | 0px |
12
+ | ` --g-md-toolbar-sticky-border ` | Toolbar border in sticky mode | border | 1px solid var(--g-color-line-generic-solid) |
12
13
| ` --g-md-editor-padding ` | Editor contents padding | padding | 0px |
Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ $block: 'g-md-editor-sticky';
23
23
24
24
content : ' ' ;
25
25
26
- border : 1px solid var (--g-color-line-generic-solid );
26
+ border : var ( --g-md-toolbar-sticky-border , 1px solid var (--g-color-line-generic-solid ) );
27
27
border-radius : 4px ;
28
28
background-color : var (--g-color-base-background );
29
29
}
You can’t perform that action at this time.
0 commit comments