diff options
author | Filipa Lacerda <filipa@gitlab.com> | 2018-11-02 20:15:56 +0300 |
---|---|---|
committer | Filipa Lacerda <filipa@gitlab.com> | 2018-11-02 20:16:52 +0300 |
commit | f80abe5dff3b8395e43d935ae606f2bcf1991153 (patch) | |
tree | 0363f71fa9d3be7ae137b5e33bba1e13a275d38e /app/assets/stylesheets/framework/mixins.scss | |
parent | c0d30fad978de58da6d78d8fddcfccf602ebfe82 (diff) |
Uses gitlab-ui components in jobs components.
Removes old buttons,links and tooltips and uses
the new gitlab-ui components.
Diffstat (limited to 'app/assets/stylesheets/framework/mixins.scss')
-rw-r--r-- | app/assets/stylesheets/framework/mixins.scss | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/app/assets/stylesheets/framework/mixins.scss b/app/assets/stylesheets/framework/mixins.scss index c030d75f5a4..9837b1a6bd0 100644 --- a/app/assets/stylesheets/framework/mixins.scss +++ b/app/assets/stylesheets/framework/mixins.scss @@ -291,7 +291,7 @@ /* * Mixin that handles the position of the controls placed on the top bar */ -@mixin build-controllers($control-font-size, $flex-direction, $with-grow, $flex-grow-size) { +@mixin build-controllers($control-font-size, $flex-direction, $with-grow, $flex-grow-size, $svg-display: 'block', $svg-top: '2px') { display: flex; font-size: $control-font-size; justify-content: $flex-direction; @@ -304,8 +304,9 @@ svg { width: 15px; height: 15px; - display: block; + display: $svg-display; fill: $gl-text-color; + top: $svg-top; } .controllers-buttons { |