Commit 7ac8d834 authored by Simon Knox's avatar Simon Knox

Remove unused extends from some CSS pages

Dropdown one not needed
col-lg one I inlined classes
Others I inlined relevant rules
parent 5f62cd3e
......@@ -24,7 +24,7 @@ export default {
target="_blank"
rel="noopener noreferrer"
>
<img :src="attachment.url" class="note-image-attach" />
<img :src="attachment.url" class="note-image-attach col-lg-4" />
</a>
<div class="attachment">
<a
......
......@@ -179,8 +179,9 @@
}
input[type='submit'] {
@extend .btn-block;
margin-bottom: 0;
display: block;
width: 100%;
}
.devise-errors {
......
......@@ -236,8 +236,8 @@ $tabs-holder-z-index: 250;
}
.label-branch {
@extend .ref-name;
@include gl-font-monospace;
font-size: 95%;
color: $gl-text-color;
font-weight: normal;
overflow: hidden;
......
......@@ -48,7 +48,6 @@
}
.note-image-attach {
@extend .col-lg-4;
margin-left: 45px;
float: none;
}
......
.notification-list-item {
.dropdown-menu {
@extend .dropdown-menu-right;
}
@include media-breakpoint-down(sm) {
.notification-dropdown {
width: 100%;
......
......@@ -22,7 +22,7 @@
- if note.attachment.url
- if note.attachment.image?
= link_to note.attachment.url, target: '_blank' do
= image_tag note.attachment.url, class: 'note-image-attach'
= image_tag note.attachment.url, class: 'note-image-attach col-lg-4'
- else
= link_to note.attachment.url, target: '_blank', class: 'note-file-attach' do
= sprite_icon("paperclip")
......
......@@ -69,7 +69,7 @@
.note-attachment
- if note.attachment.image?
= link_to note.attachment.url, target: '_blank' do
= image_tag note.attachment.url, class: 'note-image-attach'
= image_tag note.attachment.url, class: 'note-image-attach col-lg-4'
.attachment
= link_to note.attachment.url, target: '_blank' do
= sprite_icon('paperclip')
......
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