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

padding and margin theme values look strange #18

Open
Chris-SP365 opened this issue Jan 20, 2021 · 0 comments
Open

padding and margin theme values look strange #18

Chris-SP365 opened this issue Jan 20, 2021 · 0 comments

Comments

@Chris-SP365
Copy link

Hi,

while debugging a display issue with IOS I encountered that the default values don't look right:

:host([theme~="margin"]) {
    margin: 1em;
}
:host([theme~="padding"]) #grid-layout-element {
    padding: 1em 1em 0 1em;
}
:host([theme~="margin"]) #grid-layout-element {
    margin: var(--lumo-space-m);
}
:host([theme~="padding"]) #grid-layout-element {
    padding: var(--lumo-space-m);
}

Theme "margin" sets margin on two elements => it gets way too big.
Theme "padding" has 2 css styles targeting grid-layout-element.

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

No branches or pull requests

1 participant