Skip to content

Commit

Permalink
replace outdated css v-deep selectors
Browse files Browse the repository at this point in the history
Signed-off-by: Maksim Sukharev <antreesy.web@gmail.com>
  • Loading branch information
Antreesy committed Aug 2, 2023
1 parent 5e04c76 commit f0fa0f9
Show file tree
Hide file tree
Showing 6 changed files with 16 additions and 18 deletions.
4 changes: 2 additions & 2 deletions js/notifications-main.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion js/notifications-main.js.map

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

20 changes: 9 additions & 11 deletions src/Components/Notification.vue
Original file line number Diff line number Diff line change
Expand Up @@ -377,17 +377,15 @@ export default {
.notification {
background-color: var(--color-main-background);
&::v-deep {
img.notification-icon {
display: flex;
width: 32px;
height: 32px;
filter: var(--background-invert-if-dark);
}
.rich-text--wrapper {
white-space: pre-wrap;
word-break: break-word;
}
& :deep(img.notification-icon) {
display: flex;
width: 32px;
height: 32px;
filter: var(--background-invert-if-dark);
}
& :deep(.rich-text--wrapper) {
white-space: pre-wrap;
word-break: break-word;
}
.notification-subject {
Expand Down
2 changes: 1 addition & 1 deletion src/NotificationsApp.vue
Original file line number Diff line number Diff line change
Expand Up @@ -500,7 +500,7 @@ export default {
overflow: auto;
}
::v-deep .empty-content {
:deep(.empty-content) {
margin: 12vh 10px;
p {
Expand Down

0 comments on commit f0fa0f9

Please sign in to comment.