mirror of
https://github.com/go-gitea/gitea
synced 2025-07-22 18:28:37 +00:00
Show attachments in issues/comments and add preview for images
This commit is contained in:
@@ -1794,4 +1794,29 @@ body {
|
||||
color: #444;
|
||||
font-weight: bold;
|
||||
line-height: 30px;
|
||||
}
|
||||
|
||||
.issue-main .attachments {
|
||||
margin: 0px 10px 10px 10px;
|
||||
}
|
||||
|
||||
.issue-main .attachments .attachment-label {
|
||||
margin-right: 5px;
|
||||
}
|
||||
|
||||
.attachment-preview {
|
||||
position: absolute;
|
||||
top: 0px;
|
||||
bottom: 0px;
|
||||
|
||||
margin: 5px;
|
||||
padding: 8px;
|
||||
|
||||
background: #fff;
|
||||
border: 1px solid #d8d8d8;
|
||||
box-shadow: 0 0 5px 1px #d8d8d8;
|
||||
}
|
||||
|
||||
.attachment-preview-img {
|
||||
border: 1px solid #d8d8d8;
|
||||
}
|
Reference in New Issue
Block a user