Browse Source

fix: code tag styling

pull/1066/head
Nick 5 years ago
parent
commit
8f7fdab771
2 changed files with 6 additions and 14 deletions
  1. 10
      client/components/editor/editor-modal-properties.vue
  2. 10
      client/themes/default/scss/app.scss

10
client/components/editor/editor-modal-properties.vue

@ -102,7 +102,6 @@
:close-on-content-click='false'
v-model='isPublishStartShown'
:return-value.sync='publishStartDate'
full-width
width='460px'
:disabled='!isPublished || true'
)
@ -221,7 +220,6 @@
)
page-selector(mode='create', v-model='pageSelectorShown', :path='path', :locale='locale', :open-handler='setPath')
v-tour(name='editorPropertiesTour', :steps='tourSteps')
</template>
<script>
@ -242,13 +240,7 @@ export default {
isPublishStartShown: false,
isPublishEndShown: 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: {

10
client/themes/default/scss/app.scss

@ -452,13 +452,13 @@
// ---------------------------------
code {
background-color: mc('indigo', '50');
background-color: mc('indigo', '50') !important;
padding: 0 5px;
color: mc('indigo', '800');
color: mc('indigo', '800') !important;
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 {
display: none;

Loading…
Cancel
Save