Fix design

This commit is contained in:
kakkokari-gtyih 2023-10-01 13:11:13 +09:00
parent bcf5fdd2a5
commit db7af6bcdd
3 changed files with 3 additions and 2 deletions

View File

@ -14,6 +14,7 @@ defineProps<{
<style scoped>
.prevroot {
@apply rounded-lg;
background: linear-gradient(45deg, #aaa 25%, transparent 25%, transparent 75%, #aaa 75%),
linear-gradient(45deg, #aaa 25%, transparent 25%, transparent 75%, #aaa 75%);
background-color: #888;

View File

@ -18,9 +18,9 @@ export const locales = [
export default defineNuxtConfig({
runtimeConfig: {
locales,
public: {
baseUrl,
locales,
}
},
css: [

View File

@ -9,7 +9,7 @@ export default defineNitroPlugin((nitroApp) => {
console.log(event.path);
const runtimeConfig = useRuntimeConfig();
//@ts-ignore
if (!event.path.match(new RegExp(`^/(${runtimeConfig.public.locales.map((l) => l.code).join('|')})/`))) {
if (!event.path.match(new RegExp(`^/(${runtimeConfig.locales.map((l) => l.code).join('|')})/`))) {
html.htmlAttrs = [];
const remainingList: string[] = [];