Skip to content

Commit

Permalink
Fix button styling in bricks (#4975)
Browse files Browse the repository at this point in the history
* Fix button styling in bricks

* Reformat with prettier

* Replace global css
  • Loading branch information
Bestem0r committed Sep 23, 2024
1 parent cbb793d commit 1069232
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 1 deletion.
1 change: 1 addition & 0 deletions app/components/Header/Header.css
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@

.buttonGroup button,
.buttonGroup img {
background-color: transparent;
border: 0;
color: var(--lego-font-color);
cursor: pointer;
Expand Down
5 changes: 5 additions & 0 deletions app/components/Header/Navbar/Navbar.css
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,11 @@
}
}

.navigation button {
background-color: transparent;
border: none;
}

.navbarDropdown {
width: auto;
padding: var(--spacing-sm) var(--spacing-md);
Expand Down
2 changes: 1 addition & 1 deletion packages/lego-bricks/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@webkom/lego-bricks",
"version": "1.3.3",
"version": "1.3.4",
"description": "Component library for lego and other Abakus projects",
"author": "webkom",
"license": "MIT",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
}

.button {
border: none;
display: inline-flex;
align-items: center;
justify-content: center;
Expand Down
2 changes: 2 additions & 0 deletions packages/lego-bricks/src/components/Icon/Icon.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@
}

.clickable {
background-color: transparent;
border: none;
display: flex;
width: fit-content;
height: fit-content;
Expand Down

0 comments on commit 1069232

Please sign in to comment.