Skip to content

Commit

Permalink
refactor: update dashboard default spacing (#8165)
Browse files Browse the repository at this point in the history
  • Loading branch information
tomivirkki authored Nov 19, 2024
1 parent 1ae009d commit 2b505b0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/dashboard/test/dashboard-layout.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ const [defaultSpacing, defaultMinimumColumnWidth] = (() => {
document.body.appendChild(div);
div.style.width = '1rem';
const minColWidth = div.offsetWidth * 25;
div.style.width = 'var(--lumo-space-xl)';
div.style.width = 'var(--lumo-space-l)';
const spacing = div.offsetWidth;
div.remove();
return [spacing, minColWidth];
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { css, registerStyles } from '@vaadin/vaadin-themable-mixin/vaadin-themab

export const dashboardLayoutStyles = css`
#grid {
--_vaadin-dashboard-default-spacing: var(--lumo-space-xl);
--_vaadin-dashboard-default-spacing: var(--lumo-space-l);
}
`;

Expand Down

0 comments on commit 2b505b0

Please sign in to comment.