Fix custom fields layout

stable
Xavier Julián 2015-10-28 11:16:28 +01:00
parent c6733c36e0
commit 04d284ed1f
1 changed files with 5 additions and 1 deletions

View File

@ -25,6 +25,7 @@
.custom-field-single { .custom-field-single {
border-bottom: 1px solid $whitish; border-bottom: 1px solid $whitish;
display: flex; display: flex;
justify-content: flex-start;
padding: 1rem; padding: 1rem;
&:hover { &:hover {
.custom-field-options { .custom-field-options {
@ -66,9 +67,12 @@
} }
.custom-field-value { .custom-field-value {
@extend %light; @extend %light;
align-items: flex-start;
flex: 1; flex: 1;
padding: 0 1rem 0 2rem; padding: 0 1rem 0 2rem;
white-space: pre-line; &.js-value-view-mode {
white-space: pre-line;
}
} }
form { form {
label { label {