Skip to content

Commit 12de069

Browse files
authored
Merge pull request #927 from fcollonval/fix/button-style
Ensure button styles for toolbar are applied
2 parents b582faf + 666b1d1 commit 12de069

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/style/Toolbar.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,13 +84,14 @@ export const toolbarMenuButtonSubtitleClass = style({
8484
fontWeight: 700
8585
});
8686

87+
// Styles overriding default button style are marked as important to ensure application
8788
export const toolbarButtonClass = style({
8889
boxSizing: 'border-box',
8990
height: '24px',
90-
width: 'var(--jp-private-running-button-width)',
91+
width: 'var(--jp-private-running-button-width) !important',
9192

9293
margin: 'auto 0 auto 0',
93-
padding: '0px 6px',
94+
padding: '0px 6px !important',
9495

9596
border: 'none',
9697
outline: 'none',

0 commit comments

Comments
 (0)