diff --git a/client/css/core-general.styl b/client/css/core-general.styl index de8a7faa..9209bc30 100644 --- a/client/css/core-general.styl +++ b/client/css/core-general.styl @@ -147,22 +147,24 @@ 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 - border: 1px solid $message-info-border-color - background: $message-info-background-color - .message.error - border: 1px solid $message-error-border-color - background: $message-error-background-color - .message.success - border: 1px solid $message-success-border-color - background: $message-success-background-color + &.info + border: 1px solid $message-info-border-color + background: $message-info-background-color + &.error + border: 1px solid $message-error-border-color + background: $message-error-background-color + &.success + border: 1px solid $message-success-border-color + background: $message-success-background-color .thumbnail /*background-image: attr(data-src url)*/ /* not available yet */ diff --git a/client/css/tag-categories-view.styl b/client/css/tag-categories-view.styl index 2905fe93..31c58380 100644 --- a/client/css/tag-categories-view.styl +++ b/client/css/tag-categories-view.styl @@ -18,6 +18,6 @@ white-space: pre tfoot display: none - .messages, form + form width: auto diff --git a/client/css/tag-view.styl b/client/css/tag-view.styl index e1b069ca..87506474 100644 --- a/client/css/tag-view.styl +++ b/client/css/tag-view.styl @@ -5,7 +5,7 @@ word-break: break-all line-height: 130% margin-top: 0 - form, .messages + form width: 100% .tag-edit textarea diff --git a/client/css/user-view.styl b/client/css/user-view.styl index 7693a95d..12cba75e 100644 --- a/client/css/user-view.styl +++ b/client/css/user-view.styl @@ -21,7 +21,7 @@ margin-right: 1em #user-edit - form, .messages + form width: 100% .avatar #avatar-content