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

Make spacing from the edge of the viewport consistent #713

Open
GerardasB opened this issue Feb 1, 2024 · 0 comments
Open

Make spacing from the edge of the viewport consistent #713

GerardasB opened this issue Feb 1, 2024 · 0 comments
Assignees
Labels
css Issue related to CSS good first issue Good for newcomers

Comments

@GerardasB
Copy link
Collaborator

GerardasB commented Feb 1, 2024

Is your feature request related to a problem? Please describe.
Currently, tool assistance, status bar, and toolbar have inconsistent spacing from the edge of the viewport.

Describe the solution you'd like
Define an internal CSS variable and use it to consistently space the aforementioned UI elements.
Use the same variable to calculate the gaps between button groups and toolbars.

Example:
image
Red blocks = var(--iui-size-s);
Green blocks = calc(var(--iui-size-s) * 0.5);

@GerardasB GerardasB added good first issue Good for newcomers css Issue related to CSS labels Feb 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
css Issue related to CSS good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants