Add focus to photo rail links

This commit is contained in:
Zed 2020-01-10 02:00:00 +01:00
parent 662d25317f
commit 23647f1d7f

View file

@ -69,7 +69,7 @@ proc renderPhotoRail(profile: Profile; photoRail: seq[GalleryPhoto]): VNode =
tdiv(class="photo-rail-grid"):
for i, photo in photoRail:
if i == 16: break
a(href=(&"/{profile.username}/status/{photo.tweetId}"),
a(href=(&"/{profile.username}/status/{photo.tweetId}#m"),
style={backgroundColor: photo.color}):
genImg(photo.url & ":thumb")