mirror of
https://github.com/zedeus/nitter
synced 2026-09-06 07:09:31 +00:00
Improve mobile responsiveness
This commit is contained in:
parent
ffcac982d0
commit
f21e192a8f
7 changed files with 16 additions and 9 deletions
|
|
@ -105,8 +105,8 @@ proc renderProfile*(profile: Profile; timeline: var Timeline;
|
|||
tdiv(class="profile-banner"):
|
||||
renderBanner(profile)
|
||||
|
||||
let sticky = if prefs.stickyProfile: "sticky" else: "unset"
|
||||
tdiv(class="profile-tab", style={position: sticky}):
|
||||
let sticky = if prefs.stickyProfile: " sticky" else: ""
|
||||
tdiv(class=(&"profile-tab{sticky}")):
|
||||
renderProfileCard(profile, prefs)
|
||||
if photoRail.len > 0:
|
||||
renderPhotoRail(profile, photoRail)
|
||||
|
|
|
|||
Loading…
Reference in a new issue