Skip to content

Commit

Permalink
styles: Fix notification-group padding in our mods
Browse files Browse the repository at this point in the history
* thanks: @kb10uy

Signed-off-by: lindwurm <[email protected]>
  • Loading branch information
lindwurm committed Oct 16, 2024
1 parent adb45fb commit 3f11f9d
Show file tree
Hide file tree
Showing 2 changed files with 41 additions and 1 deletion.
23 changes: 23 additions & 0 deletions app/javascript/styles/mods/compact-padding.scss
Original file line number Diff line number Diff line change
Expand Up @@ -41,4 +41,27 @@
.status__action-bar__button-wrapper {
flex-grow: 0;
}

.notification-ungrouped, .notification-group {
padding: 8px;
}

.notification-ungrouped .status__content {
margin-inline-start: 0;
width: 100%;
}

.notification-ungrouped .status__action-bar {
margin-inline-start: 0;
width: 100%;
}

.notification-group__icon {
width: 24px;
}

.notification-ungrouped__header {
margin-bottom: 4px;
padding-inline-start: 0;
}
}
19 changes: 18 additions & 1 deletion app/javascript/styles/mods/legacy-style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -120,8 +120,25 @@
margin: 0 -8px;
padding-top: 12px;
}

.status__action-bar__button-wrapper {
flex-grow: 0;
}
.notification-ungrouped, .notification-group {
padding: 4px 4px 2px 4px;
}
.notification-ungrouped .status__content {
margin-inline-start: 0;
width: 100%;
}
.notification-ungrouped .status__action-bar {
margin-inline-start: 0;
width: 100%;
}
.notification-group__icon {
width: 24px;
}
.notification-ungrouped__header {
margin-bottom: 4px;
padding-inline-start: 0;
}
}

0 comments on commit 3f11f9d

Please sign in to comment.