Skip to content

Commit

Permalink
fix(sidebar): change styles for friends request label (#2983)
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexZakablukov committed May 3, 2022
1 parent e3a2da0 commit 9ec2fc2
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 3 deletions.
Binary file added assets/fonts/Poppins-Bold.ttf
Binary file not shown.
Binary file added assets/fonts/SpaceMono-Bold.ttf
Binary file not shown.
8 changes: 5 additions & 3 deletions components/views/navigation/sidebar/Sidebar.less
Original file line number Diff line number Diff line change
Expand Up @@ -106,13 +106,15 @@

.label {
position: absolute;
text-align: center;
top: 0.25rem;
right: 0.25rem;
font-size: @micro-text-size;
font-size: @mini-text-size;
background-color: var(--flair-color);
border-radius: 2px;
line-height: 1.2;
padding: 0.15rem 0.25rem;
line-height: 1;
padding: 0.25rem;
min-width: 18px;
&:extend(.font-primary);
font-family: @primary-font;
}
Expand Down
12 changes: 12 additions & 0 deletions layouts/default.vue
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,24 @@ export default Vue.extend({
font-weight: 400;
src: url('~assets/fonts/SpaceMono-Regular.ttf');
}
@font-face {
font-family: 'SpaceMono';
font-style: normal;
font-weight: 700;
src: url('~assets/fonts/SpaceMono-Bold.ttf');
}
@font-face {
font-family: @secondary-font;
font-style: normal;
font-weight: 400;
src: url('~assets/fonts/Poppins-Regular.ttf');
}
@font-face {
font-family: @secondary-font;
font-style: normal;
font-weight: 700;
src: url('~assets/fonts/Poppins-Bold.ttf');
}
p {
font-family: @secondary-font;
font-size: 16px;
Expand Down

0 comments on commit 9ec2fc2

Please sign in to comment.