Skip to content

Commit aa0b30a

Browse files
author
Marcin Wojciechowski
committed
Toolbar styles fixes
1 parent 9f8f478 commit aa0b30a

File tree

2 files changed

+10
-7
lines changed

2 files changed

+10
-7
lines changed

src/controls/toolbar/Toolbar.module.scss

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
border-width: 1px;
44
margin-top: 0;
55
margin-bottom: 0;
6-
height: "3rem";
6+
height: 3rem!important;
77
min-width: 0;
88

99
&:focus:before {
@@ -18,12 +18,12 @@
1818
}
1919

2020
.inFlowToolbarItemBox {
21-
width: "1rem";
22-
display: "inline-flex";
23-
justify-content: "center";
24-
align-items: "center";
21+
width: 1rem;
22+
display: inline-flex;
23+
justify-content: center;
24+
align-items: center;
2525

2626
@media (min-width: 640px) {
27-
margin-right: ".5rem",
27+
margin-right: .5rem,
2828
}
2929
}

src/controls/toolbar/Toolbar.tsx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,9 @@ export const Toolbar = (props: IToolbarProps) => {
116116
setFiltersOpen(false);
117117
}
118118
}
119+
else{
120+
setOverflowOpen(false);
121+
}
119122
}}
120123
getOverflowItems={(startIndex) =>
121124
overflowToolbarItems.slice(startIndex)
@@ -151,7 +154,7 @@ export const Toolbar = (props: IToolbarProps) => {
151154
}
152155
else {
153156
setFiltersOpen(false);
154-
setOverflowOpen(!false);
157+
setOverflowOpen(false);
155158
}
156159
}}
157160
onSelectedFiltersChange={props.onSelectedFiltersChange}

0 commit comments

Comments
 (0)