imengyu преди 1 седмица
родител
ревизия
f30e601902
променени са 3 файла, в които са добавени 10 реда и са изтрити 2 реда
  1. 2 2
      src/router/index.ts
  2. 7 0
      src/views/FusionView.vue
  3. 1 0
      vite.config.ts

+ 2 - 2
src/router/index.ts

@@ -1,9 +1,9 @@
-import { createRouter, createWebHistory } from 'vue-router'
+import { createRouter, createWebHashHistory } from 'vue-router'
 import HomeView from '../views/HomeView.vue'
 import NotFoundView from '../views/NotFoundView.vue'
 
 const router = createRouter({
-  history: createWebHistory(import.meta.env.BASE_URL),
+  history: createWebHashHistory(import.meta.env.BASE_URL),
   routes: [
     {
       path: '/',

+ 7 - 0
src/views/FusionView.vue

@@ -230,5 +230,12 @@ const monthData = [
     }
   }
 }
+
+
+@media (max-width: 500px) {
+  .calandar .month-grid {
+    grid-template-columns: repeat(2, 50%);
+  }
+}
 </style>
 

+ 1 - 0
vite.config.ts

@@ -12,6 +12,7 @@ export default defineConfig({
     vueJsx(),
     vueDevTools(),
   ],
+  base: './',
   resolve: {
     alias: {
       '@': fileURLToPath(new URL('./src', import.meta.url))