Fixed material code display

pull/4572/head
Cagatay Civici 2023-10-13 12:33:49 +03:00
parent 2564b6e835
commit 317cce45e0
2 changed files with 9 additions and 1 deletions

View File

@ -174,4 +174,12 @@ pre[class*="language-"] {
background: var(--surface-700) !important; background: var(--surface-700) !important;
} }
} }
&[data-p-theme^="md-"] {
pre[class*="language-"] {
code {
background: var(--surface-900) !important;
}
}
}
} }

View File

@ -1,5 +1,5 @@
<template> <template>
<div class="layout-wrapper" :class="containerClass"> <div class="layout-wrapper" :class="containerClass" :data-p-theme="$appState.theme">
<AppNews v-if="$appState.newsActive" /> <AppNews v-if="$appState.newsActive" />
<AppTopBar @menubutton-click="onMenuButtonClick" @configbutton-click="onConfigButtonClick" /> <AppTopBar @menubutton-click="onMenuButtonClick" @configbutton-click="onConfigButtonClick" />
<AppConfigurator :configActive="appConfigActive" @updateConfigActive="onUpdateConfigActive" /> <AppConfigurator :configActive="appConfigActive" @updateConfigActive="onUpdateConfigActive" />