MediaWiki:Common.css: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
Tag: Reverted
No edit summary
Tag: Reverted
Line 4,327: Line 4,327:
.tile-top.tile-image img {
.tile-top.tile-image img {
     width: 100%;
     width: 100%;
     height: auto; /* Change height to auto */
     height: 100%;
    max-height: 100%; /* Add max-height to 100% */
     object-fit: contain;
     object-fit: contain;
     transition: transform 0.4s ease-out;
     transition: transform 0.4s ease-out;
     box-sizing: border-box;
     box-sizing: border-box;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
}
}


Navigation menu