aboutsummaryrefslogtreecommitdiff
path: root/src/components/attachment
diff options
context:
space:
mode:
authorShpuld Shpuldson <shp@cock.li>2020-11-24 21:35:14 +0200
committerShpuld Shpuldson <shp@cock.li>2020-11-24 21:35:14 +0200
commit1d178b7341d9848b64d5f2eb27338ac26f046a2a (patch)
treec892c5cfdd3e69434e376dfe73ec7452f794e6c7 /src/components/attachment
parent04af772c1e8851bb8e4ce9b46e8146c0755309ed (diff)
fix too big hide button, fix weird 28px hack
Diffstat (limited to 'src/components/attachment')
-rw-r--r--src/components/attachment/attachment.vue4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/components/attachment/attachment.vue b/src/components/attachment/attachment.vue
index b072b170..2c1c1682 100644
--- a/src/components/attachment/attachment.vue
+++ b/src/components/attachment/attachment.vue
@@ -44,7 +44,7 @@
</a>
<button
v-if="nsfw && hideNsfwLocal && !hidden"
- class="button-unstyled -padded hider"
+ class="button-unstyled hider"
@click.prevent="toggleHidden"
>
<FAIcon icon="times" />
@@ -233,7 +233,7 @@
position: absolute;
right: 0;
margin: 10px;
- padding: 5px;
+ padding: 0;
z-index: 4;
border-radius: $fallback--tooltipRadius;
border-radius: var(--tooltipRadius, $fallback--tooltipRadius);