fix: edit buttons header alignment when toc sidebar is on the right
This commit is contained in:
parent
c91ff2da7e
commit
d6d88ed976
@ -58,9 +58,13 @@
|
|||||||
style='margin-top: auto; margin-bottom: auto;'
|
style='margin-top: auto; margin-bottom: auto;'
|
||||||
:class='$vuetify.rtl ? `pr-4` : `pl-4`'
|
:class='$vuetify.rtl ? `pr-4` : `pl-4`'
|
||||||
)
|
)
|
||||||
|
.page-header-headings
|
||||||
.headline.grey--text(:class='$vuetify.theme.dark ? `text--lighten-2` : `text--darken-3`') {{title}}
|
.headline.grey--text(:class='$vuetify.theme.dark ? `text--lighten-2` : `text--darken-3`') {{title}}
|
||||||
.caption.grey--text.text--darken-1 {{description}}
|
.caption.grey--text.text--darken-1 {{description}}
|
||||||
.page-edit-shortcuts(v-if='editShortcutsObj.editMenuBar')
|
.page-edit-shortcuts(
|
||||||
|
v-if='editShortcutsObj.editMenuBar'
|
||||||
|
:class='tocPosition === `right` ? `is-right` : ``'
|
||||||
|
)
|
||||||
v-btn(
|
v-btn(
|
||||||
v-if='editShortcutsObj.editMenuBtn'
|
v-if='editShortcutsObj.editMenuBtn'
|
||||||
@click='pageEdit'
|
@click='pageEdit'
|
||||||
@ -742,9 +746,16 @@ export default {
|
|||||||
position: relative;
|
position: relative;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.page-header-headings {
|
||||||
|
min-height: 52px;
|
||||||
|
display: flex;
|
||||||
|
justify-content: center;
|
||||||
|
flex-direction: column;
|
||||||
|
}
|
||||||
|
|
||||||
.page-edit-shortcuts {
|
.page-edit-shortcuts {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
bottom: -43px;
|
bottom: -33px;
|
||||||
right: 10px;
|
right: 10px;
|
||||||
|
|
||||||
.v-btn {
|
.v-btn {
|
||||||
|
Loading…
Reference in New Issue
Block a user