mirror of
https://github.com/Hopiu/wagtail.git
synced 2026-05-23 06:15:49 +00:00
fixing positioning of multiple panels relative to their controls
This commit is contained in:
parent
f2766921ee
commit
b038b6dbe7
1 changed files with 2 additions and 1 deletions
|
|
@ -297,7 +297,7 @@ button.icon{
|
|||
> li{
|
||||
position:relative;
|
||||
background-color:white;
|
||||
padding:1em 1.5em;
|
||||
padding:1em 10em 1em 1.5em; /* 10em padding leaves room for controls */
|
||||
margin-bottom:1em;
|
||||
border:1px solid lighten($color-grey-4, 3%); /* really trying to avoid creating more greys, but this one is better than grey 4 or 5 */
|
||||
@include border-radius(2px);
|
||||
|
|
@ -319,6 +319,7 @@ button.icon{
|
|||
/* Object controls */
|
||||
.controls{
|
||||
position:absolute;
|
||||
z-index:1;
|
||||
right:1em;
|
||||
top:1em;
|
||||
color:white;
|
||||
|
|
|
|||
Loading…
Reference in a new issue