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:
parent
13d9611b4c
commit
b0b01acd03
2 changed files with 7 additions and 1 deletions
|
@ -77,6 +77,12 @@
|
||||||
fill: color-mod(var(--darkgrey) lightness(+20%));
|
fill: color-mod(var(--darkgrey) lightness(+20%));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.dropdown-align-right {
|
||||||
|
top: calc(100% + 6px);
|
||||||
|
right: 10px;
|
||||||
|
left: auto;
|
||||||
|
}
|
||||||
|
|
||||||
@media (max-width: 500px) {
|
@media (max-width: 500px) {
|
||||||
.dropdown-menu li > a,
|
.dropdown-menu li > a,
|
||||||
.dropdown-menu li > button {
|
.dropdown-menu li > button {
|
||||||
|
|
|
@ -26,7 +26,7 @@
|
||||||
<span class="hidden">User Settings</span>
|
<span class="hidden">User Settings</span>
|
||||||
</span>
|
</span>
|
||||||
</GhDropdownButton>
|
</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}}
|
{{#if this.canMakeOwner}}
|
||||||
<li>
|
<li>
|
||||||
<button {{action "toggleTransferOwnerModal"}}>
|
<button {{action "toggleTransferOwnerModal"}}>
|
||||||
|
|
Loading…
Add table
Reference in a new issue