Commit 37e3d42b authored by Luke "Jared" Bennett's avatar Luke "Jared" Bennett

UX review

parent 97f96407
...@@ -32,7 +32,7 @@ ...@@ -32,7 +32,7 @@
<div class="issuable-note-warning"> <div class="issuable-note-warning">
<i <i
aria-hidden="true" aria-hidden="true"
class="fa" class="fa icon"
:class="iconClass" :class="iconClass"
v-if="!isLockedAndConfidential" v-if="!isLockedAndConfidential"
></i> ></i>
......
...@@ -703,3 +703,4 @@ $java: #70ad51; ...@@ -703,3 +703,4 @@ $java: #70ad51;
Issuable warning Issuable warning
*/ */
$issuable-warning-size: 24px; $issuable-warning-size: 24px;
$issuable-warning-icon-margin: 4px;
...@@ -14,6 +14,10 @@ ...@@ -14,6 +14,10 @@
width: $issuable-warning-size; width: $issuable-warning-size;
height: $issuable-warning-size; height: $issuable-warning-size;
text-align: center; text-align: center;
&:first-of-type {
margin-right: $issuable-warning-icon-margin;
}
} }
.sidebar-item-icon { .sidebar-item-icon {
......
...@@ -110,6 +110,10 @@ ...@@ -110,6 +110,10 @@
padding: 3px 12px; padding: 3px 12px;
margin: auto; margin: auto;
align-items: center; align-items: center;
.icon {
margin-right: $issuable-warning-icon-margin;
}
} }
.disabled-comment .issuable-note-warning { .disabled-comment .issuable-note-warning {
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
- if defined?(@merge_request) && @merge_request.discussion_locked? - if defined?(@merge_request) && @merge_request.discussion_locked?
.issuable-note-warning .issuable-note-warning
= icon('lock') = icon('lock', class: 'icon')
%span %span
= _('This merge request is locked.') = _('This merge request is locked.')
= _('Only project members can comment.') = _('Only project members can comment.')
......
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