Add focus to photo rail links
This commit is contained in:
parent
662d25317f
commit
23647f1d7f
|
@ -69,7 +69,7 @@ proc renderPhotoRail(profile: Profile; photoRail: seq[GalleryPhoto]): VNode =
|
||||||
tdiv(class="photo-rail-grid"):
|
tdiv(class="photo-rail-grid"):
|
||||||
for i, photo in photoRail:
|
for i, photo in photoRail:
|
||||||
if i == 16: break
|
if i == 16: break
|
||||||
a(href=(&"/{profile.username}/status/{photo.tweetId}"),
|
a(href=(&"/{profile.username}/status/{photo.tweetId}#m"),
|
||||||
style={backgroundColor: photo.color}):
|
style={backgroundColor: photo.color}):
|
||||||
genImg(photo.url & ":thumb")
|
genImg(photo.url & ":thumb")
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue