fix: rtl offset + list indent (#1326, #1327)

This commit is contained in:
NGPixel
2019-12-22 18:49:17 -05:00
parent f09f1f4f1e
commit 14c842ff9d
4 changed files with 65 additions and 8 deletions

View File

@@ -18,7 +18,7 @@
)
v-layout(row)
v-flex(xs6, md4)
v-toolbar.nav-header-inner.pl-3(color='black', dark, flat)
v-toolbar.nav-header-inner(color='black', dark, flat, :class='$vuetify.rtl ? `pr-3` : `pl-3`')
v-avatar(tile, size='34', @click='goHome')
v-img.org-logo(:src='logoUrl')
//- v-menu(open-on-hover, offset-y, bottom, left, min-width='250', transition='slide-y-transition')

View File

@@ -183,6 +183,8 @@ import _ from 'lodash'
import { get, sync } from 'vuex-pathify'
import markdownHelp from './markdown/help.vue'
/* global siteConfig */
// ========================================
// IMPORTS
// ========================================
@@ -491,7 +493,8 @@ export default {
},
viewportMargin: 50,
inputStyle: 'contenteditable',
allowDropFileTypes: ['image/jpg', 'image/png', 'image/svg', 'image/jpeg', 'image/gif']
allowDropFileTypes: ['image/jpg', 'image/png', 'image/svg', 'image/jpeg', 'image/gif'],
direction: siteConfig.rtl ? 'rtl' : 'ltr'
})
this.cm.setValue(this.$store.get('editor/content'))
this.cm.on('change', c => {