diff --git a/app/assets/stylesheets/framework/blocks.scss b/app/assets/stylesheets/framework/blocks.scss index a74a73d7954646c3c9e604f9a11ff5d004bfa8f2..c9ab9ba4761e2b554a6d5d3bb1610344e4c3c857 100644 --- a/app/assets/stylesheets/framework/blocks.scss +++ b/app/assets/stylesheets/framework/blocks.scss @@ -22,6 +22,9 @@ } .row-content-block { + display: -webkit-box; + display: -ms-flexbox; + display: flex; margin-top: 0; margin-bottom: -$gl-padding; background-color: $gray-light; @@ -82,8 +85,15 @@ } .block-controls { - float: right; - margin-top: -36px; + display: -webkit-box; + display: -ms-flexbox; + display: flex; + -webkit-box-pack: end; + -ms-flex-pack: end; + justify-content: flex-end; + -webkit-box-flex: 1; + -ms-flex: 1; + flex: 1; .control { float: left;