Make clickable area the whole row
This commit is contained in:
parent
c6715b346b
commit
a2c21e2742
|
@ -4,7 +4,7 @@
|
||||||
<div class="notification-overlay"></div>
|
<div class="notification-overlay"></div>
|
||||||
<router-link
|
<router-link
|
||||||
v-if="shouldShowChats"
|
v-if="shouldShowChats"
|
||||||
class="button-unstyled -link extra-notification-link"
|
class="button-unstyled -link extra-notification"
|
||||||
:to="{ name: 'chats', params: { username: currentUser.screen_name } }"
|
:to="{ name: 'chats', params: { username: currentUser.screen_name } }"
|
||||||
>
|
>
|
||||||
{{ $tc('notifications.unread_chats', unreadChatCount, { num: unreadChatCount }) }}
|
{{ $tc('notifications.unread_chats', unreadChatCount, { num: unreadChatCount }) }}
|
||||||
|
@ -14,7 +14,7 @@
|
||||||
<div class="notification-overlay"></div>
|
<div class="notification-overlay"></div>
|
||||||
<router-link
|
<router-link
|
||||||
v-if="shouldShowAnnouncements"
|
v-if="shouldShowAnnouncements"
|
||||||
class="button-unstyled -link extra-notification-link"
|
class="button-unstyled -link extra-notification"
|
||||||
:to="{ name: 'announcements' }"
|
:to="{ name: 'announcements' }"
|
||||||
>
|
>
|
||||||
{{ $tc('notifications.unread_announcements', unreadAnnouncementCount, { num: unreadAnnouncementCount }) }}
|
{{ $tc('notifications.unread_announcements', unreadAnnouncementCount, { num: unreadAnnouncementCount }) }}
|
||||||
|
@ -24,7 +24,7 @@
|
||||||
<div class="notification-overlay"></div>
|
<div class="notification-overlay"></div>
|
||||||
<router-link
|
<router-link
|
||||||
v-if="shouldShowFollowRequests"
|
v-if="shouldShowFollowRequests"
|
||||||
class="button-unstyled -link extra-notification-link"
|
class="button-unstyled -link extra-notification"
|
||||||
:to="{ name: 'friend-requests' }"
|
:to="{ name: 'friend-requests' }"
|
||||||
>
|
>
|
||||||
{{ $tc('notifications.unread_follow_requests', followRequestCount, { num: followRequestCount }) }}
|
{{ $tc('notifications.unread_follow_requests', followRequestCount, { num: followRequestCount }) }}
|
||||||
|
@ -33,7 +33,7 @@
|
||||||
<i18n-t
|
<i18n-t
|
||||||
v-if="shouldShowCustomizationTip"
|
v-if="shouldShowCustomizationTip"
|
||||||
tag="span"
|
tag="span"
|
||||||
class="notification tip"
|
class="notification tip extra-notification"
|
||||||
keypath="notifications.configuration_tip"
|
keypath="notifications.configuration_tip"
|
||||||
>
|
>
|
||||||
<template #theSettings>
|
<template #theSettings>
|
||||||
|
@ -69,10 +69,16 @@
|
||||||
|
|
||||||
.notification {
|
.notification {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
padding: 1em;
|
|
||||||
border-bottom: 1px solid;
|
border-bottom: 1px solid;
|
||||||
border-color: $fallback--border;
|
border-color: $fallback--border;
|
||||||
border-color: var(--border, $fallback--border);
|
border-color: var(--border, $fallback--border);
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
align-items: stretch;
|
||||||
|
}
|
||||||
|
|
||||||
|
.extra-notification {
|
||||||
|
padding: 1em;
|
||||||
}
|
}
|
||||||
|
|
||||||
.tip {
|
.tip {
|
||||||
|
|
Loading…
Reference in New Issue