mirror of
https://github.com/gchq/CyberChef.git
synced 2025-04-21 15:26:16 -04:00
Adjust css to keep aspect ratio of previewed image
This commit is contained in:
parent
4a84cf3ac7
commit
d9fdae9175
1 changed files with 11 additions and 4 deletions
|
@ -60,10 +60,17 @@
|
|||
|
||||
.io-card.card>img {
|
||||
float: left;
|
||||
width: 128px;
|
||||
height: 128px;
|
||||
margin-left: 10px;
|
||||
margin-top: 11px;
|
||||
width: auto;
|
||||
height: auto;
|
||||
max-width: 128px;
|
||||
max-height: 128px;
|
||||
margin-left: auto;
|
||||
margin-top: auto;
|
||||
margin-right: auto;
|
||||
margin-bottom: auto;
|
||||
padding: 10px;
|
||||
padding-right: 0px;
|
||||
|
||||
}
|
||||
|
||||
.io-card.card .card-body .close {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue