1
0
mirror of https://git.sr.ht/~cadence/bibliogram synced 2025-12-14 18:45:06 +00:00

Improve right-to-left language support

This commit is contained in:
Cadence Ember
2020-07-28 03:31:21 +12:00
parent 9e589b5860
commit 08ef1a8f28
8 changed files with 29 additions and 9 deletions

View File

@@ -12,20 +12,20 @@ html
h1.banner
img.banner-image(src="/static/img/banner-min.svg" alt="Bibliogram")
.go-sections-container
.go-sections-container(dir=ll.meta_direction)
.go-sections
section
h2.title= ll.go_to_profile
form(method="get" action="/u").pair-entry
form(method="get" action="/u" class=`dir-${ll.meta_direction}`).pair-entry
input(type="text" name="u" placeholder=ll.go_username_or_url).text
input(type="submit" value=ll.go_button).button
section
h2.title= ll.go_to_post
form(method="get" action="/p").pair-entry
form(method="get" action="/p" class=`dir-${ll.meta_direction}`).pair-entry
input(type="text" name="p" placeholder=ll.go_shortcode_or_url).text
input(type="submit" value=ll.go_button).button
.about-container
.about-container(dir=ll.meta_direction)
section.about
h2= ll.about_bibliogram_header
!= ll.pug_about_bibliogram_content({link_to_featured_profiles: constants.featured_profiles.length})

View File

@@ -99,7 +99,7 @@ html
.quota Quota left: #[span#quota= remaining]
- const hasPosts = !user.data.is_private && selectedTimeline.pages.length && selectedTimeline.pages[0].length
.timeline-section
.timeline-section(dir=ll.meta_direction)
.selector-container
+selector-button(ll.tab_timeline, "timeline", "")
if user.data.has_channel !== false