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

Remove default button padding #5204

Merged
merged 1 commit into from
Jul 17, 2024
Merged

Remove default button padding #5204

merged 1 commit into from
Jul 17, 2024

Conversation

mstrasinskis
Copy link
Contributor

@mstrasinskis mstrasinskis commented Jul 16, 2024

Motivation

Some account menu entries are rendered as links, while others are rendered as buttons. By default the buttons have an extra padding before and after them.

Changes

  • Remove default button padding from account menu entries.

Tests

  • Manually.
Before After
Screenshot 2024-07-16 at 17 32 11 Screenshot 2024-07-16 at 17 40 47

Todos

  • Add entry to changelog (if necessary).
    Not necessary.

@mstrasinskis mstrasinskis marked this pull request as ready for review July 16, 2024 16:36
@mstrasinskis mstrasinskis requested a review from a team as a code owner July 16, 2024 16:36
@mstrasinskis mstrasinskis requested a review from dskloetd July 16, 2024 16:37
@mstrasinskis mstrasinskis enabled auto-merge July 16, 2024 16:44
@dskloetd
Copy link
Contributor

Looks like the padding comes from here: https://github.com/dfinity/gix-components/blob/ad8e173482b83fdb5880c09ceb195de89fd24744/src/lib/styles/global/theme.scss#L51

Do we have any buttons where we actually have and want this padding? Or should we consider removing it there?

@mstrasinskis mstrasinskis added this pull request to the merge queue Jul 17, 2024
Merged via the queue into main with commit 120dc09 Jul 17, 2024
40 checks passed
@mstrasinskis mstrasinskis deleted the fix-account-menu-icons branch July 17, 2024 09:19
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