Skip to content

Commit ab185f7

Browse files
committed
UX: RTL style fixes
1 parent 8b5fbec commit ab185f7

3 files changed

Lines changed: 9 additions & 1 deletion

File tree

frontend/src/component/navigation.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
<span :class="{'clickable': auth}" @click.stop.prevent="showNavigation()">{{ page.title }}</span>
1111
</v-toolbar-title>
1212
<v-menu v-if="showNavMenu" attach="#p-navigation .nav-small" :nudge-bottom="16" :nudge-right="0"
13-
close-on-content-click fixed disable-keys offset-y bottom left>
13+
close-on-content-click fixed disable-keys offset-y bottom :left="!rtl">
1414
<template #activator="{ on }">
1515
<v-btn
1616
dark

frontend/src/css/app.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -233,6 +233,10 @@ main {
233233
-webkit-hyphens: auto;
234234
}
235235

236+
#photoprism.is-rtl .v-card .caption {
237+
text-align: right;
238+
}
239+
236240
#photoprism .v-tabs .v-badge__badge {
237241
right: -22px;
238242
font-size: 9px;

frontend/src/css/navigation.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,10 @@ nav .v-list__tile__title.title {
1919
line-height: normal!important;
2020
}
2121

22+
.is-rtl #p-navigation .nav-title {
23+
text-align: right;
24+
}
25+
2226
#p-navigation .nav-count {
2327
opacity: 0.5;
2428
/*position: absolute;*/

0 commit comments

Comments
 (0)