Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix: adjust logical and deprecated rules
Signed-off-by: Maksim Sukharev <[email protected]>
  • Loading branch information
Antreesy authored and nickvergessen committed Jun 17, 2025
commit d213a4c416f3ed48af766c835e436285a8ee0284
2 changes: 1 addition & 1 deletion src/Components/NotificationItem.vue
Original file line number Diff line number Diff line change
Expand Up @@ -338,7 +338,7 @@ export default {
}
:deep(.rich-text--wrapper) {
white-space: pre-wrap;
word-break: break-word;
overflow-wrap: break-word;
}

.notification-subject {
Expand Down
14 changes: 6 additions & 8 deletions src/styles/styles.scss
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,8 @@ svg {

.notification-time {
color: var(--color-text-maxcontrast);
margin: 13px 0 13px auto;
margin-block: 13px;
margin-inline-start: auto;
}

.notification-dismiss-button {
Expand All @@ -71,7 +72,8 @@ svg {
.notification-message,
.notification-full-message,
.notification-actions {
margin: 0 12px 12px;
margin-block: 0 12px;
margin-inline: 12px;
}

.notification-subject {
Expand All @@ -86,14 +88,14 @@ svg {
& > a > span.subject,
& > .rich-text--wrapper,
& > a > .rich-text--wrapper {
padding-left: 10px;
padding-inline-start: 10px;
word-wrap: anywhere;
}
}

.notification-message,
.notification-full-message {
padding-left: 42px; // 32px icon + 10px title padding
padding-inline-start: 42px; // 32px icon + 10px title padding
color: var(--color-text-maxcontrast);

& > .collapsed {
Expand All @@ -119,9 +121,5 @@ svg {
line-height: normal;
margin: 2px 8px;
}

&:first-child {
margin-left: auto;
}
}
}