[FIX] web_editor: snippet options menu layout

Layout of snippet options buttons was wrong (spaces / linebreak / ...)
This commit is contained in:
qsm-odoo
2015-11-02 16:02:10 +01:00
parent d0c9caf147
commit c52e814d24
2 changed files with 32 additions and 23 deletions
+16 -12
View File
@@ -405,23 +405,27 @@
}
.oe_overlay .oe_overlay_options {
position: absolute;
left: 50% !important;
text-align: center;
top: -20px;
width: 100%;
top: -35px;
z-index: 1002;
}
.oe_overlay .oe_overlay_options > .btn-group {
left: -50%;
white-space: nowrap;
display: -ms-flexbox;
display: -moz-box;
display: -webkit-box;
display: -webkit-flex;
display: flex;
-moz-justify-content: center;
-webkit-justify-content: center;
justify-content: center;
}
.oe_overlay .oe_overlay_options > .btn-group > a {
.oe_overlay .oe_overlay_options > .btn-group > * {
cursor: pointer;
display: inline-block;
float: none;
margin: 0 -3px;
}
.oe_overlay .oe_overlay_options > .btn-group > div {
float: left;
-ms-flex: 0 0 auto;
-moz-flex: 0 0 auto;
-webkit-box-flex: 0;
-webkit-flex: 0 0 auto;
flex: 0 0 auto;
}
.oe_overlay .oe_overlay_options .btn, .oe_overlay .oe_overlay_options a {
cursor: pointer;
+16 -11
View File
@@ -311,20 +311,25 @@
.oe_overlay_options
position: absolute
left: 50% !important
text-align: center
top: -20px
width: 100%
top: -35px
z-index: 1002
> .btn-group
left: -50%
white-space: nowrap
> a
display: -ms-flexbox
display: -moz-box
display: -webkit-box
display: -webkit-flex
display: flex
-moz-justify-content: center
-webkit-justify-content: center
justify-content: center
> *
cursor: pointer
display: inline-block
float: none
margin: 0 -3px
> div
float: left
-ms-flex: 0 0 auto
-moz-flex: 0 0 auto
-webkit-box-flex: 0
-webkit-flex: 0 0 auto
flex: 0 0 auto
.btn, a
cursor: pointer
.dropdown