Skip to content

Commit

Permalink
Reduce CSS differences further
Browse files Browse the repository at this point in the history
  • Loading branch information
ClearlyClaire committed Feb 20, 2024
1 parent 3a0c1a2 commit b255c21
Showing 1 changed file with 17 additions and 7 deletions.
24 changes: 17 additions & 7 deletions app/javascript/flavours/glitch/styles/components.scss
Original file line number Diff line number Diff line change
Expand Up @@ -1779,30 +1779,40 @@ a.account__display-name {
}

.notification__report {
padding: 8px 10px;
padding-inline-start: 68px;
position: relative;
padding: 16px;
border-bottom: 1px solid lighten($ui-base-color, 8%);
min-height: 54px;
display: flex;
gap: 10px;

&__avatar {
position: absolute;
inset-inline-start: 10px;
top: 10px;
flex: 0 0 auto;
}

&__details {
flex: 1 1 auto;
display: flex;
justify-content: space-between;
align-items: center;
color: $darker-text-color;
gap: 10px;
font-size: 15px;
line-height: 22px;
white-space: nowrap;
overflow: hidden;

& > div {
overflow: hidden;
text-overflow: ellipsis;
}

strong {
font-weight: 500;
}
}

&__actions {
flex: 0 0 auto;
}
}

.notification__message {
Expand Down

0 comments on commit b255c21

Please sign in to comment.