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

Taskbar item/icons ignore css config, and act ... weird #3811

Open
msmafra opened this issue Dec 5, 2024 · 1 comment
Open

Taskbar item/icons ignore css config, and act ... weird #3811

msmafra opened this issue Dec 5, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@msmafra
Copy link

msmafra commented Dec 5, 2024

Not sure what are those margins and paddings coming from.
First 2 icons on the left side, my left monitor, have much more padding/margin than I set, the next 4 complete ignores that same unknown padding/margin. On the right side, my right monitor. None have any margin or padding.
swappy-20241205_185848

#taskbar {
    border-radius: 0.5rem;
    padding: 0.0625rem;
}

#taskbar button {
    color: @secondarytext;
    background-color: transparent;
    border-radius: 0.5rem;
    padding: 0;
    margin: 0;
}

#taskbar button:hover,
#taskbar button.active:hover {
    background-color: transparent;
    margin: 0;
    padding: 0;
    box-shadow: 0 0 0.5rem 0 rgba(160, 186, 241, 0.3) inset, 0 0 0 0.0625rem rgba(141, 168, 231, 0.3) inset;
}

#taskbar button.active {
    background-color: transparent;
    padding: 0;
    margin: 0;
}

#taskbar button.minimized,
#taskbar button.maximized,
#taskbar button.fullscreen,
#taskbar.empty {
    background-color: transparent;
    padding: 0;
    margin: 0;
}

I unset everything first with

* {
    all: unset;
    font-size: 16px;
    font-family: 'Inter Variable';
    font-feature-settings: '"zero", "tnum", "ss01", "ss02", "ss03", "cv01"';
...
}
@github-actions github-actions bot added the enhancement New feature or request label Dec 5, 2024
@msmafra
Copy link
Author

msmafra commented Dec 14, 2024

As I basically rewrote everything from my configuration and style and everything seems to be working fine, not sure why that was behaving like that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant