1 Commits
1.3.3 ... 1.3.4

Author SHA1 Message Date
512ba98500 simplify/fix cover position/size
All checks were successful
release-tag / release-image (push) Successful in 5m4s
2024-07-12 12:14:27 +02:00

View File

@@ -118,24 +118,28 @@ header {
.cover-container { .cover-container {
position: relative; position: relative;
width: 11.67em; width: 11.91em;
height: 6.7em; height: 6.7em;
float: left; float: left;
margin-right: 1em; margin-right: 1em;
text-align: center; /*background-color: white;*/
background-color: white; display: flex;
/*align-items: center;*/
justify-content: center;
} }
.cover { .cover {
display: block; /*display: block;*/
max-width: 100%; object-fit: contain;
/*max-width: 100%;
max-height: 100%; max-height: 100%;
scale: 2;
position: absolute; position: absolute;
top: 50%; top: 75%;
left: 50%; left: 75%;
-webkit-transform: translate(-50%, -50%); -webkit-transform: translate(-50%, -50%);
-ms-transform: translate(-50%, -50%); -ms-transform: translate(-50%, -50%);
transform: translate(-50%, -50%); transform: translate(-50%, -50%);*/
transition: .3s ease; transition: .3s ease;
border-radius: 0.3em; border-radius: 0.3em;
} }