diff --git a/go/twitterchiver/viewer/templates/tweets.html b/go/twitterchiver/viewer/templates/tweets.html index a7d767ff6a..f4ea95cd71 100644 --- a/go/twitterchiver/viewer/templates/tweets.html +++ b/go/twitterchiver/viewer/templates/tweets.html @@ -85,25 +85,12 @@ a:hover { grid-template-rows: 50% 50%; grid-auto-flow: dense; } -.media-item:only-child { +.media-item:only-child, +.media-item:nth-child(3):last-child { grid-column-end: span 2; } -.media-link { - position: relative; - display: block; -} -.media-link::before { - content: ""; - display: block; - padding-bottom: calc(100% / (1920/1080)); -} .media-img { - position: absolute; - top: 0; - left: 0; - height: 100%; width: 100%; - object-fit: cover; } .media-video { width: 100%;