浏览代码

fix(markup): Добавлены анимации; исправлены отступы

horanchikk 11 月之前
父节点
当前提交
cfebbbe90c
共有 3 个文件被更改,包括 2 次插入4 次删除
  1. 1 1
      components/Base/SideBar/index.vue
  2. 1 1
      components/Wall/Post.vue
  3. 0 2
      public/css/config.css

+ 1 - 1
components/Base/SideBar/index.vue

@@ -2,7 +2,7 @@
   <div
     v-if="store.isRendered"
     ref="sideBarEl"
-    class="w-screen h-screen fixed top-0 left-0 z-10"
+    class="w-screen h-screen fixed top-0 left-0 z-30"
   >
     <div
       :class="store.isVisible ? 'bg-opacity-70' : 'bg-opacity-0'"

+ 1 - 1
components/Wall/Post.vue

@@ -1,5 +1,5 @@
 <template>
-  <div class="flex flex-col gap-2 text-foreground bg-background-100 rounded-lg overflow-hidden">
+  <div class="flex flex-col gap-2 text-foreground bg-background-100 rounded-lg overflow-hidden show">
     <img
       :src="props.image"
       :alt="props.title"

+ 0 - 2
public/css/config.css

@@ -38,8 +38,6 @@
   background-position-x: 180%;
   animation: 1s loading ease-in-out infinite;
   animation-delay: 1s;
-
-  @apply show
 }
 
 .show {