Update styling for room entry actions

This commit is contained in:
Ramon Wenger 2021-09-01 16:49:01 +02:00
parent 337a9e49cf
commit 739e29d872
2 changed files with 18 additions and 5 deletions

View File

@ -1,13 +1,14 @@
<template>
<div class="more-actions">
<a
class="room-actions__more-link"
:class="{'more-actions__toggle--background': background}"
class="more-actions__toggle"
data-cy="toggle-more-actions-menu"
@click="toggleMenu">
<ellipses/>
</a>
<widget-popover
class="room-actions__popover"
class="more-actions__popover"
v-if="showMenu"
@hide-me="showMenu = false">
<slot/>
@ -20,6 +21,12 @@
import WidgetPopover from '@/components/ui/WidgetPopover';
export default {
props: {
background: {
type: Boolean,
default: false
}
},
components: {
Ellipses,
@ -46,7 +53,13 @@
svg {
width: 30px;
fill: $color-charcoal-dark;
margin-right: 15px;
//margin-right: 15px;
}
&__toggle {
background: white;
display: flex;
border-radius: 5px;
}
}
</style>

View File

@ -115,8 +115,8 @@
&__more {
position: absolute;
top: 0;
right: 0;
top: 10px;
right: 10px;
}
}