Skip to content

Commit

Permalink
UX: RTL style fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
lastzero committed May 21, 2022
1 parent 8b5fbec commit ab185f7
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/component/navigation.vue
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<span :class="{'clickable': auth}" @click.stop.prevent="showNavigation()">{{ page.title }}</span>
</v-toolbar-title>
<v-menu v-if="showNavMenu" attach="#p-navigation .nav-small" :nudge-bottom="16" :nudge-right="0"
close-on-content-click fixed disable-keys offset-y bottom left>
close-on-content-click fixed disable-keys offset-y bottom :left="!rtl">
<template #activator="{ on }">
<v-btn
dark
Expand Down
4 changes: 4 additions & 0 deletions frontend/src/css/app.css
Original file line number Diff line number Diff line change
Expand Up @@ -233,6 +233,10 @@ main {
-webkit-hyphens: auto;
}

#photoprism.is-rtl .v-card .caption {
text-align: right;
}

#photoprism .v-tabs .v-badge__badge {
right: -22px;
font-size: 9px;
Expand Down
4 changes: 4 additions & 0 deletions frontend/src/css/navigation.css
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,10 @@ nav .v-list__tile__title.title {
line-height: normal!important;
}

.is-rtl #p-navigation .nav-title {
text-align: right;
}

#p-navigation .nav-count {
opacity: 0.5;
/*position: absolute;*/
Expand Down

0 comments on commit ab185f7

Please sign in to comment.