Skip to content

Commit

Permalink
fix: jiggly buttons & unnecessary scrollbar
Browse files Browse the repository at this point in the history
  • Loading branch information
buddy-web3 committed Feb 12, 2024
1 parent 8c78125 commit 04b76d2
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
5 changes: 5 additions & 0 deletions app/components/ArticlesNav/menu.css
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
.articles-group::-webkit-scrollbar {
display: none;
}
.articles-group {
-ms-overflow-style: none; /* IE and Edge */
scrollbar-width: none; /* Firefox */
width: 100%;
position: relative;
text-align: left;
Expand Down
11 changes: 3 additions & 8 deletions app/components/Button/button.css
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
}

.secondary:hover {
border: 1px solid var(--colors-teal-200, #a6d9d7);
border: 1px solid var(--colors-teal-200, #a6d9d7) !important;
}

.secondary-alt {
Expand Down Expand Up @@ -67,17 +67,14 @@
border-top-left-radius: 6px;
border-bottom-left-radius: 6px;
border-left-width: 1px;
border-right: 1px solid transparent;
}

.composite-button > .button:last-child {
border-top-right-radius: 6px;
border-bottom-right-radius: 6px;
border-right-width: 1px;
}

/* Ensure that there are no gaps on the sides of the composite button */
.composite-button > .button {
margin-left: -2px;
border-left: 1px solid transparent;
}

/* Make sure the first button doesn't have a negative margin */
Expand All @@ -87,8 +84,6 @@

.composite-button .button:hover {
border-width: 1px;
border-width: 1px;
margin: 2px;
}

.tooltip::after {
Expand Down

0 comments on commit 04b76d2

Please sign in to comment.