client/css: fix ghost margins for messages
This commit is contained in:
parent
243ab15b85
commit
6d0bf90b47
4 changed files with 16 additions and 14 deletions
|
@ -147,20 +147,22 @@ a .access-key
|
|||
|
||||
.messages
|
||||
margin: 0 auto
|
||||
width: 100%
|
||||
max-width: 30em
|
||||
text-align: left
|
||||
.message
|
||||
box-sizing: border-box
|
||||
width: 100%
|
||||
max-width: 40em
|
||||
margin: 0 0 1em 0
|
||||
display: inline-block
|
||||
text-align: left
|
||||
padding: 0.5em 1em
|
||||
.message.info
|
||||
&.info
|
||||
border: 1px solid $message-info-border-color
|
||||
background: $message-info-background-color
|
||||
.message.error
|
||||
&.error
|
||||
border: 1px solid $message-error-border-color
|
||||
background: $message-error-background-color
|
||||
.message.success
|
||||
&.success
|
||||
border: 1px solid $message-success-border-color
|
||||
background: $message-success-background-color
|
||||
|
||||
|
|
|
@ -18,6 +18,6 @@
|
|||
white-space: pre
|
||||
tfoot
|
||||
display: none
|
||||
.messages, form
|
||||
form
|
||||
width: auto
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
word-break: break-all
|
||||
line-height: 130%
|
||||
margin-top: 0
|
||||
form, .messages
|
||||
form
|
||||
width: 100%
|
||||
.tag-edit
|
||||
textarea
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
margin-right: 1em
|
||||
|
||||
#user-edit
|
||||
form, .messages
|
||||
form
|
||||
width: 100%
|
||||
.avatar
|
||||
#avatar-content
|
||||
|
|
Loading…
Reference in a new issue