fix: code tag styling

This commit is contained in:
Nick 2019-09-22 17:03:33 -04:00
parent 1a7ace5107
commit 8f7fdab771
2 changed files with 6 additions and 14 deletions

View File

@ -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], namespaces: siteLangs.length ? siteLangs.map(ns => ns.code) : [siteConfig.lang]
tourSteps: [
{
target: '.dialog-header',
content: `First-time tour help here. <strong>TODO</strong>!`
}
]
} }
}, },
computed: { computed: {

View File

@ -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-weight: normal !important;
font-size: 1rem; font-size: 1rem !important;
box-shadow: none; box-shadow: none !important;
&::before, &::after { &::before, &::after {
display: none; display: none;