add: center img without deform it
This commit is contained in:
parent
fe1f7d1485
commit
b9f7090e96
@ -28,14 +28,13 @@ body {
|
|||||||
}
|
}
|
||||||
|
|
||||||
img {
|
img {
|
||||||
width: 100%;
|
object-fit: contain
|
||||||
height: auto;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
a {
|
a {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: row;
|
flex-direction: row;
|
||||||
align-items: center;
|
justify-content: center;
|
||||||
background-color: var(--content1);
|
background-color: var(--content1);
|
||||||
padding: 10px;
|
padding: 10px;
|
||||||
margin: 10px;
|
margin: 10px;
|
||||||
|
Loading…
Reference in New Issue
Block a user