aboutsummaryrefslogtreecommitdiff
path: root/src/components/notifications
diff options
context:
space:
mode:
authorHenry Jameson <me@hjkos.com>2022-10-09 18:50:13 +0300
committerHenry Jameson <me@hjkos.com>2022-10-09 18:50:13 +0300
commit0331e42ee8576893dab2c6319ee5c0d62895b8d8 (patch)
treec5e7dd74e30e9525655b4284a831e92647332563 /src/components/notifications
parentce6ce4b6cdd3aea2712ce73c0b0fd9d64372ac8e (diff)
move definitions for timeline header buttons to Panel.scss, now called
rightside buttons
Diffstat (limited to 'src/components/notifications')
-rw-r--r--src/components/notifications/notifications.scss21
-rw-r--r--src/components/notifications/notifications.vue4
2 files changed, 2 insertions, 23 deletions
diff --git a/src/components/notifications/notifications.scss b/src/components/notifications/notifications.scss
index 245e3f47..f71f9b76 100644
--- a/src/components/notifications/notifications.scss
+++ b/src/components/notifications/notifications.scss
@@ -29,27 +29,6 @@
}
}
}
-
- .timeline-header-button {
- align-self: stretch;
- text-align: center;
- width: var(--__panel-heading-height);
- height: var(--__panel-heading-height);
- margin: calc(-1 * var(--panel-heading-height-padding)) 0;
- margin-right: calc(-1 * var(--__panel-heading-gap));
-
- > button {
- box-sizing: border-box;
- padding: calc(1 * var(--panel-heading-height-padding)) 0;
- height: 100%;
- width: 100%;
- text-align: center;
-
- svg {
- font-size: 1.2em;
- }
- }
- }
}
.notification {
diff --git a/src/components/notifications/notifications.vue b/src/components/notifications/notifications.vue
index 22f67e65..3f4b1b42 100644
--- a/src/components/notifications/notifications.vue
+++ b/src/components/notifications/notifications.vue
@@ -21,7 +21,7 @@
>{{ unseenCount }}</span>
</div>
<div
- class="timeline-header-button"
+ class="rightside-button"
v-if="showScrollTop"
>
<button
@@ -46,7 +46,7 @@
>
{{ $t('notifications.read') }}
</button>
- <NotificationFilters class="timeline-header-button" />
+ <NotificationFilters class="rightside-button" />
</div>
<div class="panel-body">
<div