diff --git a/public/style.css b/public/style.css index 7b85124..78eb2ca 100644 --- a/public/style.css +++ b/public/style.css @@ -211,6 +211,8 @@ nav { border-radius: 7px; overflow: hidden; flex-flow: column; + background-color: #0f0f0f; + align-items: center; } .gallery-row { diff --git a/src/views/tweet.nim b/src/views/tweet.nim index c060c2c..e295045 100644 --- a/src/views/tweet.nim +++ b/src/views/tweet.nim @@ -31,9 +31,8 @@ # #proc renderMediaGroup(tweet: Tweet): string = #let groups = if tweet.photos.len > 2: tweet.photos.distribute(2) else: @[tweet.photos] -#let groupStyle = if groups.len == 1 and groups[0].len < 2: "" else: "background-color: #0f0f0f;" #var first = true -
+
#for photos in groups: #let style = if first: "" else: "margin-top: .25em;"