diff options
author | Ryan Harris <harrisryan1@gmail.com> | 2017-01-17 19:31:36 +0300 |
---|---|---|
committer | Ryan Harris <harrisryan1@gmail.com> | 2017-01-24 23:16:36 +0300 |
commit | dc702c174979eea9adddb6bce0d43a68f9d0be5b (patch) | |
tree | 746315bbf32f5c0b0934e2f1b84d6ce41fca31ec | |
parent | 029460e25888b3b6241ff0303dbf49f1de9e5f6f (diff) |
Added class to .row-content-block to allow custom flexbox styling
-rw-r--r-- | app/assets/stylesheets/framework/blocks.scss | 11 | ||||
-rw-r--r-- | app/views/projects/commits/show.html.haml | 2 |
2 files changed, 6 insertions, 7 deletions
diff --git a/app/assets/stylesheets/framework/blocks.scss b/app/assets/stylesheets/framework/blocks.scss index c9ab9ba4761..b3f5deb59e7 100644 --- a/app/assets/stylesheets/framework/blocks.scss +++ b/app/assets/stylesheets/framework/blocks.scss @@ -22,9 +22,6 @@ } .row-content-block { - display: -webkit-box; - display: -ms-flexbox; - display: flex; margin-top: 0; margin-bottom: -$gl-padding; background-color: $gray-light; @@ -86,13 +83,10 @@ .block-controls { 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 { @@ -293,3 +287,8 @@ } } } + +.flex-container-block { + display: -webkit-box; + display: flex; +} diff --git a/app/views/projects/commits/show.html.haml b/app/views/projects/commits/show.html.haml index ab9545bfb0e..d94f23f5a38 100644 --- a/app/views/projects/commits/show.html.haml +++ b/app/views/projects/commits/show.html.haml @@ -9,7 +9,7 @@ = render "head" %div{ class: container_class } - .row-content-block.second-block.content-component-block + .row-content-block.second-block.content-component-block.flex-container-block .tree-ref-holder = render 'shared/ref_switcher', destination: 'commits' |