Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Commit

Permalink
Use spacing variables
Browse files Browse the repository at this point in the history
  • Loading branch information
t3chguy committed Apr 27, 2022
1 parent bafb548 commit 401002d
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions res/css/views/rooms/_ThreadSummary.scss
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,12 @@ $threadSummaryLineHeight: calc(2 * $font-12px);
height: 40px;
position: relative;
background-color: $system;
padding-left: 12px;
padding-left: $spacing-12;
display: flex;
align-items: center;
border-radius: 8px;
padding-right: 16px;
margin-top: 8px;
padding-right: $spacing-16;
margin-top: $spacing-8;
font-size: $font-12px;
color: $secondary-content;
box-sizing: border-box;
Expand All @@ -56,7 +56,7 @@ $threadSummaryLineHeight: calc(2 * $font-12px);
content: '';
position: absolute;
top: 50%;
right: 12px;
right: $spacing-12;
transform: translateY(-50%);
width: 12px;
height: 12px;
Expand Down Expand Up @@ -88,7 +88,7 @@ $threadSummaryLineHeight: calc(2 * $font-12px);
.mx_ThreadSummary_threads-amount {
font-weight: $font-semi-bold;
position: relative;
padding: 0 12px 0 8px;
padding: 0 $spacing-12 0 $spacing-8;
white-space: nowrap;
line-height: $threadSummaryLineHeight;
}
Expand All @@ -105,13 +105,13 @@ $threadSummaryLineHeight: calc(2 * $font-12px);
text-overflow: ellipsis;
overflow: hidden;
white-space: nowrap;
margin-left: 4px;
margin-left: $spacing-4;
font-size: $font-12px;
line-height: $threadSummaryLineHeight;
color: $secondary-content;
flex: 1;
}

.mx_ThreadSummary_avatar {
margin-right: 8px;
margin-right: $spacing-8;
}

0 comments on commit 401002d

Please sign in to comment.