Jelajahi Sumber

fix: edit buttons hidden when toc sidebar is on the right

NGPixel 2 tahun lalu
induk
melakukan
eb99f828b1
1 mengubah file dengan 7 tambahan dan 3 penghapusan
  1. 7 3
      client/themes/default/components/page.vue

+ 7 - 3
client/themes/default/components/page.vue

@@ -53,8 +53,8 @@
           v-col.page-col-content.is-page-header(
           v-col.page-col-content.is-page-header(
             :offset-xl='tocPosition === `left` ? 2 : 0'
             :offset-xl='tocPosition === `left` ? 2 : 0'
             :offset-lg='tocPosition === `left` ? 3 : 0'
             :offset-lg='tocPosition === `left` ? 3 : 0'
-            :xl10='tocPosition === `right`'
-            :lg9='tocPosition === `right`'
+            :xl='tocPosition === `right` ? 10 : false'
+            :lg='tocPosition === `right` ? 9 : false'
             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`'
             )
             )
@@ -736,9 +736,13 @@ export default {
 .page-header-section {
 .page-header-section {
   position: relative;
   position: relative;
 
 
+  > .is-page-header {
+    position: relative;
+  }
+
   .page-edit-shortcuts {
   .page-edit-shortcuts {
     position: absolute;
     position: absolute;
-    bottom: -14px;
+    bottom: -43px;
     right: 10px;
     right: 10px;
 
 
     .v-btn {
     .v-btn {