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 {
|
.io-card.card>img {
|
||||||
float: left;
|
float: left;
|
||||||
width: 128px;
|
width: auto;
|
||||||
height: 128px;
|
height: auto;
|
||||||
margin-left: 10px;
|
max-width: 128px;
|
||||||
margin-top: 11px;
|
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 {
|
.io-card.card .card-body .close {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue