Match notification padding to note's padding

This commit is contained in:
Freeplay 2023-05-22 21:26:52 -04:00
parent 05ce3e7039
commit 8fe2aca14e
2 changed files with 7 additions and 8 deletions

View file

@ -5,7 +5,7 @@
v-show="!isDeleted"
ref="el"
v-hotkey="keymap"
v-size="{ max: [500, 450, 350, 300] }"
v-size="{ max: [500, 450, 350] }"
class="tkcbzcuz note-container"
:tabindex="!isDeleted ? '-1' : null"
:class="{ renote: isRenote }"

View file

@ -1,7 +1,7 @@
<template>
<div
ref="elRef"
v-size="{ max: [500, 600] }"
v-size="{ max: [500, 450] }"
class="qglefbjs notification"
:class="notification.type"
>
@ -392,14 +392,13 @@ useTooltip(reactionRef, (showing) => {
display: flex;
contain: content;
&.max-width_600px {
padding: 16px;
font-size: 0.9em;
}
&.max-width_500px {
padding: 12px;
font-size: 0.85em;
padding-block: 16px;
font-size: 0.9em;
}
&.max-width_450px {
padding: 12px 16px;
}
> .head {