Other small css adjustments on Collection Edition Page.

This commit is contained in:
mateuswetah 2018-06-26 16:42:39 -03:00
parent c596a288c1
commit 1da1539e98
4 changed files with 15 additions and 11 deletions

View File

@ -141,7 +141,7 @@
:message="$i18n.getHelperMessage('collections', 'enabled_view_modes')"/>
<div class="control">
<b-dropdown
class="enabled-view-modes"
class="two-columns-dropdown"
ref="enabledViewModesDropdown"
:mobile-modal="false"
:disabled="Object.keys(registeredViewModes).length < 0">
@ -842,16 +842,6 @@ export default {
bottom: -136px;
}
}
.enabled-view-modes {
.dropdown-content {
display: flex;
flex-wrap: wrap;
.dropdown-item {
width: 10%;
}
}
}
.selected-cover-page {
background-color: $tainacan-input-background;
padding: 8px;

View File

@ -10,4 +10,7 @@
background: none !important;
margin-bottom: 0 !important;
}
&:last-child {
margin-bottom: 0;
}
}

View File

@ -87,6 +87,16 @@
padding: 2px 14px 2px 18px !important
}
}
.two-columns-dropdown {
&>.dropdown-menu>.dropdown-content {
display: flex;
flex-wrap: wrap;
.dropdown-item {
width: 50%;
}
}
}
.upload-draggable {
border-radius: 0 !important;
}

View File

@ -34,6 +34,7 @@ export default {
// Tainacan imports
@import "../admin/scss/_tables.scss";
@import "../admin/scss/_tags.scss";
@import "../admin/scss/_selects.scss";
@import "../admin/scss/_dropdown-and-autocomplete.scss";
@import "../admin/scss/_tooltips.scss";