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> = {
2020 control : { type : 'text' } ,
2121 description : 'Toolbar padding in sticky mode' ,
2222 } ,
23+ '--g-md-toolbar-sticky-border' : {
24+ control : { type : 'text' } ,
25+ description : 'Toolbar border in sticky mode' ,
26+ } ,
2327 '--g-md-editor-padding' : {
2428 control : { type : 'text' } ,
2529 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
99| ` --g-md-toolbar-sticky-padding ` | Toolbar padding in sticky mode | padding | -4px |
1010| ` --g-md-toolbar-sticky-inset ` | Toolbar inset in sticky mode | inset | -4px |
1111| ` --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) |
1213| ` --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';
2323
2424 content : ' ' ;
2525
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 ) );
2727 border-radius : 4px ;
2828 background-color : var (--g-color-base-background );
2929 }
You can’t perform that action at this time.
0 commit comments