0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-24 23:48:13 -05:00

Updated style definition for staff dropdowns

no refs.
- updated style for staff dropdown to make it generic for reuse
This commit is contained in:
Peter Zimon 2020-02-21 10:20:08 +01:00
parent 13d9611b4c
commit b0b01acd03
2 changed files with 7 additions and 1 deletions

View file

@ -77,6 +77,12 @@
fill: color-mod(var(--darkgrey) lightness(+20%));
}
.dropdown-align-right {
top: calc(100% + 6px);
right: 10px;
left: auto;
}
@media (max-width: 500px) {
.dropdown-menu li > a,
.dropdown-menu li > button {

View file

@ -26,7 +26,7 @@
<span class="hidden">User Settings</span>
</span>
</GhDropdownButton>
<GhDropdown @name="user-actions-menu" @tagName="ul" @classNames="user-actions-menu dropdown-menu dropdown-triangle-top-right">
<GhDropdown @name="user-actions-menu" @tagName="ul" @classNames="user-actions-menu dropdown-menu dropdown-align-right">
{{#if this.canMakeOwner}}
<li>
<button {{action "toggleTransferOwnerModal"}}>