Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: repurpose dashboard-gap as dashboard-spacing #7897

Merged
merged 2 commits into from
Oct 1, 2024

Conversation

tomivirkki
Copy link
Member

Description

This PR renames --vaadin-dashboard-gap to --vaadin-dashboard-spacing and repurposes it to also affect the dashboard's padding.

Part of https://github.com/orgs/vaadin/projects/70/views/1?pane=issue&itemId=75293217

Type of change

Refactor

return [parseFloat(width)];
})();

// TODO: Fix the default minimum column width
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this something to be addressed later?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Addressed now with the current known default

@@ -111,10 +111,10 @@ export function setRowspan(element: HTMLElement, rowspan?: number): void {
}

/**
* Sets the gap between the cells of the dashboard.
* Sets the specing between the cells of the dashboard.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nit: typo

Suggested change
* Sets the specing between the cells of the dashboard.
* Sets the spacing between the cells of the dashboard.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done

Copy link

sonarcloud bot commented Oct 1, 2024

@tomivirkki tomivirkki merged commit 3bc42b4 into feat/dashboard Oct 1, 2024
9 checks passed
@tomivirkki tomivirkki deleted the refactor/dashboard-spacing branch October 1, 2024 12:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants