Commit 0619e111 authored by Marcel van Remmerden's avatar Marcel van Remmerden

Adapt code to style guidelines

parent a0c4c121
...@@ -86,8 +86,7 @@ ...@@ -86,8 +86,7 @@
margin: 5px 2px 5px -8px; margin: 5px 2px 5px -8px;
border-radius: $border-radius-default; border-radius: $border-radius-default;
&.js-canary-badge { &.badge {
padding: 0;
font-size: 12px; font-size: 12px;
border-radius: 100px; border-radius: 100px;
margin-top: 6px; margin-top: 6px;
...@@ -98,10 +97,11 @@ ...@@ -98,10 +97,11 @@
background-color: $green-500; background-color: $green-500;
} }
span { .color-label {
line-height: 15px; line-height: 15px;
} }
span:hover {
.color-label:hover {
text-decoration: none; text-decoration: none;
} }
} }
......
...@@ -17,8 +17,8 @@ ...@@ -17,8 +17,8 @@
- if logo_text.present? - if logo_text.present?
%span.logo-text.d-none.d-lg-block.prepend-left-8 %span.logo-text.d-none.d-lg-block.prepend-left-8
= logo_text = logo_text
= link_to 'https://next.gitlab.com', class: 'label-link js-canary-badge badge badge-pill green-badge align-self-center', target: :_blank do = link_to 'https://next.gitlab.com', class: 'label-link js-canary-badge badge badge-pill green-badge align-self-center p-0', target: :_blank do
%span.badge.color-label.has-tooltip %span.color-label.has-tooltip
= _('Next') = _('Next')
- if current_user - if current_user
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment