1
0
Fork 0

Reduce draft status textarea size and shape.

This commit is contained in:
Nicolas Perriault 2017-05-18 17:32:19 +02:00
parent f8763f5cae
commit 310fc2705e
No known key found for this signature in database
GPG Key ID: DA5E4C83904F7A2A
2 changed files with 20 additions and 3 deletions

View File

@ -444,6 +444,21 @@ li.load-more {
margin-left: 6px; margin-left: 6px;
} }
.status-field {
margin-bottom: 0;
}
.status-field textarea {
border-bottom-left-radius: 0;
border-bottom-right-radius: 0;
}
.draft-visibilities .btn {
border-top: 0;
border-top-left-radius: 0;
border-top-right-radius: 0;
}
.draft-attachments-field { .draft-attachments-field {
margin-top: 12px; margin-top: 12px;
} }
@ -613,7 +628,6 @@ input.form-control[type=file] {
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: center; justify-content: center;
z-index: 1;
left: 0; left: 0;
top: 0; top: 0;
width: 100%; width: 100%;
@ -726,9 +740,12 @@ input.form-control[type=file] {
/* Autocomplete */ /* Autocomplete */
.autocomplete-menu { .autocomplete-menu {
position: relative; position: absolute;
margin-top: -10px; margin-top: -10px;
min-width: 120px; min-width: 120px;
left: 16px;
right: 16px;
z-index: 10;
} }
.autocomplete-list { .autocomplete-list {

View File

@ -199,7 +199,7 @@ draftView ({ draft, currentUser } as model) =
] ]
else else
text "" text ""
, div [ class "form-group" ] , div [ class "form-group status-field" ]
[ label [ for "status" ] [ label [ for "status" ]
[ text <| [ text <|
if hasSpoiler then if hasSpoiler then