forked from AkkomaGang/akkoma-fe
fix too big hide button, fix weird 28px hack
This commit is contained in:
parent
04af772c1e
commit
1d178b7341
3 changed files with 7 additions and 4 deletions
|
@ -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);
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
>
|
||||
<button
|
||||
ref="trigger"
|
||||
class="button-unstyled -fullwidth"
|
||||
class="button-unstyled -fullwidth popover-trigger-button"
|
||||
@click="onClick"
|
||||
>
|
||||
<slot name="trigger" />
|
||||
|
@ -31,6 +31,10 @@
|
|||
<style lang="scss">
|
||||
@import '../../_variables.scss';
|
||||
|
||||
.popover-trigger-button {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.popover {
|
||||
z-index: 8;
|
||||
position: absolute;
|
||||
|
|
|
@ -84,7 +84,6 @@
|
|||
margin-right: auto;
|
||||
min-width: 0;
|
||||
width: 24rem;
|
||||
height: 28px;
|
||||
|
||||
.timeline-menu-popover-wrap {
|
||||
overflow: hidden;
|
||||
|
|
Loading…
Reference in a new issue