Update styling for room entry actions
This commit is contained in:
parent
337a9e49cf
commit
739e29d872
|
|
@ -1,13 +1,14 @@
|
||||||
<template>
|
<template>
|
||||||
<div class="more-actions">
|
<div class="more-actions">
|
||||||
<a
|
<a
|
||||||
class="room-actions__more-link"
|
:class="{'more-actions__toggle--background': background}"
|
||||||
|
class="more-actions__toggle"
|
||||||
data-cy="toggle-more-actions-menu"
|
data-cy="toggle-more-actions-menu"
|
||||||
@click="toggleMenu">
|
@click="toggleMenu">
|
||||||
<ellipses/>
|
<ellipses/>
|
||||||
</a>
|
</a>
|
||||||
<widget-popover
|
<widget-popover
|
||||||
class="room-actions__popover"
|
class="more-actions__popover"
|
||||||
v-if="showMenu"
|
v-if="showMenu"
|
||||||
@hide-me="showMenu = false">
|
@hide-me="showMenu = false">
|
||||||
<slot/>
|
<slot/>
|
||||||
|
|
@ -20,6 +21,12 @@
|
||||||
import WidgetPopover from '@/components/ui/WidgetPopover';
|
import WidgetPopover from '@/components/ui/WidgetPopover';
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
|
props: {
|
||||||
|
background: {
|
||||||
|
type: Boolean,
|
||||||
|
default: false
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
components: {
|
components: {
|
||||||
Ellipses,
|
Ellipses,
|
||||||
|
|
@ -46,7 +53,13 @@
|
||||||
svg {
|
svg {
|
||||||
width: 30px;
|
width: 30px;
|
||||||
fill: $color-charcoal-dark;
|
fill: $color-charcoal-dark;
|
||||||
margin-right: 15px;
|
//margin-right: 15px;
|
||||||
|
}
|
||||||
|
|
||||||
|
&__toggle {
|
||||||
|
background: white;
|
||||||
|
display: flex;
|
||||||
|
border-radius: 5px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
|
||||||
|
|
@ -115,8 +115,8 @@
|
||||||
|
|
||||||
&__more {
|
&__more {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 0;
|
top: 10px;
|
||||||
right: 0;
|
right: 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue