Skip to content

Commit

Permalink
fix some inconsitency (#4494)
Browse files Browse the repository at this point in the history
  • Loading branch information
julianjelfs authored Oct 4, 2023
1 parent d3023c4 commit 71d1c60
Show file tree
Hide file tree
Showing 5 changed files with 28 additions and 37 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,17 +18,6 @@

<style lang="scss">
.direct-chats {
display: flex;
flex: 1;
align-items: center;
gap: $sp4;
@include mobile() {
padding: 0 $sp3;
}
.icon {
display: flex;
}
@include left_panel_header();
}
</style>
Original file line number Diff line number Diff line change
Expand Up @@ -18,17 +18,6 @@

<style lang="scss">
.favourites {
display: flex;
flex: 1;
align-items: center;
gap: $sp4;
@include mobile() {
padding: 0 $sp3;
}
.icon {
display: flex;
}
@include left_panel_header();
}
</style>
Original file line number Diff line number Diff line change
Expand Up @@ -22,17 +22,6 @@

<style lang="scss">
.group-chats {
display: flex;
flex: 1;
align-items: center;
gap: $sp4;
@include mobile() {
padding: 0 $sp3;
}
.icon {
display: flex;
}
@include left_panel_header();
}
</style>
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
display: flex;
flex: 1;
align-items: center;
gap: $sp4;
gap: $sp3;
cursor: pointer;
}
.wrapper {
Expand All @@ -68,6 +68,11 @@
@include font(book, normal, fs-70);
}
.name {
@include font(book, normal, fs-120);
margin-bottom: $sp1;
}
.members {
color: var(--txt-light);
.num {
Expand Down
19 changes: 19 additions & 0 deletions frontend/app/src/styles/mixins.scss
Original file line number Diff line number Diff line change
Expand Up @@ -530,3 +530,22 @@ $shadow-level-3: 2px 6px 12px 0 rgba(25, 25, 25, 0.55);
-ms-user-select: none; // Internet Explorer/Edge
user-select: none; // Non-prefixed version, currently supported by Chrome, Edge, Opera and Firefox
}

@mixin left_panel_header() {
display: flex;
flex: 1;
align-items: center;
gap: $sp4;

@include mobile() {
padding: 0 $sp3;
}

.icon {
display: flex;
}

.details h4 {
@include font(book, normal, fs-120);
}
}

0 comments on commit 71d1c60

Please sign in to comment.