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

Updated dropdown positions in layouts

This commit is contained in:
Paul Adam Davis 2014-08-13 14:25:28 +01:00
parent 78f459315a
commit 2aafe85987
3 changed files with 48 additions and 2 deletions

View file

@ -87,6 +87,7 @@
margin: 0;
padding: 0 12px;
background: none !important;
height: 60px;
}
// Profile picture
@ -132,6 +133,17 @@
margin-left: 5px;
}
.dropdown {
position: absolute;
top: 100%;
right: 100%;
.dropdown-menu {
position: absolute;
top: 0;
right: 0;
}
}
}//.user-menu

View file

@ -441,13 +441,13 @@ body.zen {
.post-settings-menu {
position: absolute;
bottom: 44px;
bottom: 41px;
right: -3px;
}
.splitbtn {
margin-top: 5px;
.btn {
border-top: rgba(255,255,255,0.3) 1px solid;
}
@ -646,11 +646,23 @@ body.zen {
}
}
}
}
#entry-actions {
margin-right: 6px;
position: relative;
.dropdown {
position: absolute;
bottom: 49px;
right: 0;
.dropdown-menu {
top: auto;
left: auto;
right: 100%;
bottom: 100%;
}
}
}
#entry-actions-menu {
@ -679,6 +691,15 @@ body.zen {
} // .post-settings
.post-settings-menu {
.dropdown-menu {
top: auto;
bottom: 100%;
left: auto;
right: 100%;
}
/*
padding-top: 0;
text-transform: none;
@ -802,6 +823,8 @@ body.zen {
}
} // .delete
*/
} // .post-settings-menu

View file

@ -182,6 +182,17 @@ a.object-list-item {
}
//
// User Actions
// --------------------------------------------------
.user-actions-menu {
left: auto;
right: 0;
top: calc(100% + 17px);
}
//
// Invite User Modal
// --------------------------------------------------