Skip to content

Commit

Permalink
fix buttons font
Browse files Browse the repository at this point in the history
  • Loading branch information
azmy60 committed Apr 24, 2024
1 parent e0bd134 commit 2ad9907
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 31 deletions.
31 changes: 1 addition & 30 deletions apps/studio/src/assets/styles/app/_layout.scss
Original file line number Diff line number Diff line change
Expand Up @@ -89,36 +89,7 @@ hr {
align-items: center;
}
.btn {
display: inline-flex;
font-size: 12px;
line-height: $input-height;
height: $input-height;
font-weight: 700;
outline: 0;
border: 0;
padding: 0 1rem;
min-width: 88px;
box-shadow: inset 0 0 0 1px rgba(white, 0.025);
border-radius: $btn-border-radius;
transition: background 0.15s ease-in-out,
color 0.15s ease-in-out;
justify-content: center;
text-align: center;
cursor: pointer;
&:hover, &:focus {
font-weight: 700;
outline: 0;
border: 0;
box-shadow: none;
}
&.btn-icon {
display: flex;
align-items: center;
i {
font-size: 1rem;
margin-left: -3px;
}
}
@include btn;
}
x-buttons > x-button[menu].btn {
border-left: 1px solid rgba(black, 0.35);
Expand Down
3 changes: 2 additions & 1 deletion apps/studio/src/assets/styles/app/_mixins.scss
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@
@mixin btn {
display: inline-flex;
align-items: center;
font-size: 13px;
font-size: 12px;
font-family: inherit;
line-height: $input-height;
height: $input-height;
font-weight: 700;
Expand Down

0 comments on commit 2ad9907

Please sign in to comment.