toolbar: drop no-box-shadow

This is now applied to all descendets of pb-toolbar so we don't need the
utility class.
This commit is contained in:
David Lechner
2021-12-27 12:38:51 -06:00
parent 6d0e97f50e
commit dfa497fcf6
3 changed files with 5 additions and 6 deletions
-4
View File
@@ -30,10 +30,6 @@ body {
position: absolute;
}
.no-box-shadow {
box-shadow: unset !important;
}
// global style tweaks
.#{$ns}-toast {
+1 -1
View File
@@ -22,7 +22,7 @@ const Toolbar: React.VFC = (_props) => {
<div
role="toolbar"
onContextMenu={(e): void => e.preventDefault()}
className="pb-toolbar no-box-shadow"
className="pb-toolbar"
>
<ButtonGroup className="pb-toolbar-group pb-align-left">
<OpenButton id="open" />
+4 -1
View File
@@ -13,9 +13,12 @@
z-index: $pt-z-index-content;
}
.pb-toolbar * {
box-shadow: unset !important;
}
.pb-toolbar-group {
align-items: center;
display: flex;
height: $pb-toolbar-height;
&.pb-align-left {