mirror of
https://github.com/netbox-community/netbox.git
synced 2026-01-14 07:42:18 -06:00
* Initial work on #19591 * Ignore images cache directory * Clean up thumbnails layout * Include "add attachment" button * Clean up ObjectImageAttachmentsView * Add html_tag property to ImageAttachment * Misc cleanup * Collapse .gitignore files for /media * Fix conditional in template
This commit is contained in:
2
netbox/project-static/dist/netbox.css
vendored
2
netbox/project-static/dist/netbox.css
vendored
File diff suppressed because one or more lines are too long
@@ -81,6 +81,14 @@ img.plugin-icon {
|
||||
height: auto;
|
||||
}
|
||||
|
||||
// Image attachment thumbnails
|
||||
.thumbnail {
|
||||
max-width: 200px;
|
||||
img {
|
||||
border: 1px solid #606060;
|
||||
}
|
||||
}
|
||||
|
||||
body[data-bs-theme=dark] {
|
||||
// Assuming icon is black/white line art, invert it and tone down brightness
|
||||
img.plugin-icon {
|
||||
|
||||
Reference in New Issue
Block a user