diff options
author | Andrew Patton <andrew@acusti.ca> | 2014-07-25 15:35:47 -0400 |
---|---|---|
committer | Andrew Patton <andrew@acusti.ca> | 2014-07-25 15:35:47 -0400 |
commit | c084a5ba735144576cffbdfe3b193fc9fc8e67f8 (patch) | |
tree | d651bcdc6f4445b253da98fcb0f6084dffdfe9b2 /public | |
parent | 5ed5912ef52c8f056c66cb896136249faa8904bd (diff) | |
download | gitea-c084a5ba735144576cffbdfe3b193fc9fc8e67f8.tar.gz gitea-c084a5ba735144576cffbdfe3b193fc9fc8e67f8.zip |
Style finesse for “Attachments:” list in issues
Make `#attached-list` attachment labels wrap, make spacing more
consistent, add hover stats to `.attachment-remove` icon, adjust
padding of labels to compensate for `.attachment-remove` icon
Diffstat (limited to 'public')
-rwxr-xr-x | public/css/gogs.css | 21 |
1 files changed, 12 insertions, 9 deletions
diff --git a/public/css/gogs.css b/public/css/gogs.css index 361475bd40..aa6d43894a 100755 --- a/public/css/gogs.css +++ b/public/css/gogs.css @@ -1826,21 +1826,24 @@ body { } #attached { - height: 18px; - margin: 10px 10px 15px 10px; + margin: 10px 0 15px; } #attached-list .label { + display: inline-block; + vertical-align: top; margin-right: 10px; + padding-right: 0; +} + +#attached-list .label .attachment-remove { + cursor: pointer; +} + +#attached-list .label .attachment-remove:hover { + background: #d8d8d8; } #issue-create-form #attached { margin-bottom: 0; } - -#submit-error { - display: none; - padding: 10px 15px 15px 15px; - font-weight: bold; - text-align: center; -}
\ No newline at end of file |