mirror of
https://github.com/go-gitea/gitea
synced 2024-11-25 22:42:48 +01:00
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
This commit is contained in:
parent
5ed5912ef5
commit
c084a5ba73
1 changed files with 12 additions and 9 deletions
|
@ -1826,21 +1826,24 @@ body {
|
||||||
}
|
}
|
||||||
|
|
||||||
#attached {
|
#attached {
|
||||||
height: 18px;
|
margin: 10px 0 15px;
|
||||||
margin: 10px 10px 15px 10px;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#attached-list .label {
|
#attached-list .label {
|
||||||
|
display: inline-block;
|
||||||
|
vertical-align: top;
|
||||||
margin-right: 10px;
|
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 {
|
#issue-create-form #attached {
|
||||||
margin-bottom: 0;
|
margin-bottom: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
#submit-error {
|
|
||||||
display: none;
|
|
||||||
padding: 10px 15px 15px 15px;
|
|
||||||
font-weight: bold;
|
|
||||||
text-align: center;
|
|
||||||
}
|
|
Loading…
Reference in a new issue