Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,4 +1,13 @@
@layer payload-default {
.modular-dashboard {
margin: calc(var(--spacer-2-5) / -2);
width: calc(100% + var(--spacer-2-5));
}

.modular-dashboard .widget {
padding: calc(var(--spacer-2-5) / 2);
}

.modular-dashboard .widget-content {
height: 100%;
}
Expand Down
2 changes: 1 addition & 1 deletion packages/ui/src/elements/Card/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
border-radius: var(--radius-medium);
border: var(--stroke-width-small) solid var(--color-border);
display: flex;
align-items: flex-start;
align-items: stretch;
gap: var(--spacer-2);
}

Expand Down
4 changes: 2 additions & 2 deletions test/dashboard/components/Private.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@ export default function Private({ widgetSlug }: WidgetServerProps) {
<h3 style={{ fontSize: '16px', fontWeight: 600, margin: 0 }}>Private Widget</h3>
<div
style={{
background: 'var(--theme-success-500)',
background: 'var(--color-bg-brand)',
borderRadius: '12px',
color: 'var(--theme-elevation-0)',
color: 'var(--color-text-onbrand)',
fontSize: '12px',
fontWeight: 600,
padding: '4px 8px',
Expand Down
Loading