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

fix(css): Adjust button margins #496

Merged
merged 1 commit into from
Aug 28, 2020
Merged

Conversation

MonkeyDo
Copy link
Contributor

With the User Collections we're doing new things with buttons that we haven't done before, which is unearthing a couple of small CSS issues.
For some reason the Lobes theme has slightly overlapping buttons, which means an opacity change (disabled) looks really bad.
We're also using badges in buttons which requires a small padding adjustment.

Problem

Buttons are overlapping, which looks terrible with opacity (disabled buttons).
Also buttons with badges are a tiny bit higher that without.
Capture d’écran 2020-08-27 à 14 28 38

Solution

Adjust button css here and there:
Capture d’écran 2020-08-27 à 14 37 14

Areas of Impact

Just the LESS file.

Overlapping buttons meant an opacity change (disabled) looks really bad.
Also adjusts badges padding in buttons.
@coveralls
Copy link

Coverage Status

Coverage decreased (-0.08%) to 59.549% when pulling 2c29fed on fix-buttons-margins into c6cc0f6 on UserCollection.

Copy link
Contributor

@prabalsingh24 prabalsingh24 left a comment

Choose a reason for hiding this comment

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

LGTM :)

@MonkeyDo MonkeyDo merged commit 2b946bd into UserCollection Aug 28, 2020
@MonkeyDo MonkeyDo deleted the fix-buttons-margins branch January 14, 2021 15:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants