فهرست منبع

fix: code tag styling

Nick 5 سال پیش
والد
کامیت
8f7fdab771
2فایلهای تغییر یافته به همراه6 افزوده شده و 14 حذف شده
  1. 1 9
      client/components/editor/editor-modal-properties.vue
  2. 5 5
      client/themes/default/scss/app.scss

+ 1 - 9
client/components/editor/editor-modal-properties.vue

@@ -102,7 +102,6 @@
                     :close-on-content-click='false'
                     :close-on-content-click='false'
                     v-model='isPublishStartShown'
                     v-model='isPublishStartShown'
                     :return-value.sync='publishStartDate'
                     :return-value.sync='publishStartDate'
-                    full-width
                     width='460px'
                     width='460px'
                     :disabled='!isPublished || true'
                     :disabled='!isPublished || true'
                     )
                     )
@@ -221,7 +220,6 @@
               )
               )
 
 
     page-selector(mode='create', v-model='pageSelectorShown', :path='path', :locale='locale', :open-handler='setPath')
     page-selector(mode='create', v-model='pageSelectorShown', :path='path', :locale='locale', :open-handler='setPath')
-    v-tour(name='editorPropertiesTour', :steps='tourSteps')
 </template>
 </template>
 
 
 <script>
 <script>
@@ -242,13 +240,7 @@ export default {
       isPublishStartShown: false,
       isPublishStartShown: false,
       isPublishEndShown: false,
       isPublishEndShown: false,
       pageSelectorShown: false,
       pageSelectorShown: false,
-      namespaces: siteLangs.length ? siteLangs.map(ns => ns.code) : [siteConfig.lang],
-      tourSteps: [
-        {
-          target: '.dialog-header',
-          content: `First-time tour help here. <strong>TODO</strong>!`
-        }
-      ]
+      namespaces: siteLangs.length ? siteLangs.map(ns => ns.code) : [siteConfig.lang]
     }
     }
   },
   },
   computed: {
   computed: {

+ 5 - 5
client/themes/default/scss/app.scss

@@ -452,13 +452,13 @@
   // ---------------------------------
   // ---------------------------------
 
 
   code {
   code {
-    background-color: mc('indigo', '50');
+    background-color: mc('indigo', '50') !important;
     padding: 0 5px;
     padding: 0 5px;
-    color: mc('indigo', '800');
+    color: mc('indigo', '800') !important;
     font-family: 'Roboto Mono', monospace;
     font-family: 'Roboto Mono', monospace;
-    font-weight: normal;
-    font-size: 1rem;
-    box-shadow: none;
+    font-weight: normal !important;
+    font-size: 1rem !important;
+    box-shadow: none !important;
 
 
     &::before, &::after {
     &::before, &::after {
       display: none;
       display: none;