Skip to content

Commit d2de254

Browse files
committed
add gutter
1 parent 08f8ea4 commit d2de254

File tree

4 files changed

+6
-3
lines changed

4 files changed

+6
-3
lines changed

packages/app/src/app/pages/Dashboard/Content/Sandboxes/Filters/FilterOptions/elements.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ export const OverlayContainer = styled.div`
4141
z-index: 10;
4242
color: rgba(255, 255, 255, 0.8);
4343
font-size: 0.875rem;
44-
44+
margin: 0;
4545
border-radius: 2px;
4646
box-shadow: 0 3px 3px rgba(0, 0, 0, 0.3);
4747

packages/app/src/app/pages/Dashboard/Content/Sandboxes/Filters/FilterOptions/index.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ const FilterOptionsComponent: React.FC<IFilterOptionsProps> = ({
1616
hideFilters,
1717
}: IFilterOptionsProps) => {
1818
const menu = useMenuState({
19+
gutter: 10,
1920
placement: 'bottom-end',
2021
});
2122

packages/app/src/app/pages/Dashboard/Content/Sandboxes/Filters/SortOptions/elements.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ export const OverlayContainer = styled.div`
6262
z-index: 10;
6363
color: rgba(255, 255, 255, 0.8);
6464
font-size: 0.875rem;
65-
65+
margin: 0;
6666
border-radius: 2px;
6767
box-shadow: 0 3px 3px rgba(0, 0, 0, 0.3);
6868

packages/app/src/app/pages/Dashboard/Content/Sandboxes/Filters/SortOptions/index.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,9 @@ export const SortOptions: React.FC<{ hideOrder: boolean }> = ({
2323
dashboard: { orderByChanged },
2424
},
2525
} = useOvermind();
26-
const menu = useMenuState();
26+
const menu = useMenuState({
27+
gutter: 10,
28+
});
2729

2830
const toggleSort = e => {
2931
e.preventDefault();

0 commit comments

Comments
 (0)