Просмотр исходного кода

enhance(ui): polish details for the page title elements

charlie 1 год назад
Родитель
Сommit
2683ecbdcd
2 измененных файлов с 2 добавлено и 2 удалено
  1. 1 1
      src/main/frontend/animations.css
  2. 1 1
      src/main/frontend/components/page.cljs

+ 1 - 1
src/main/frontend/animations.css

@@ -31,7 +31,7 @@
 
 .fade-in {
   opacity: 0; /* make things invisible upon start */
-  animation: fadeIn ease-in 1; /* call our keyframe named fadeIn, use animattion ease-in and repeat it only 1 time */
+  animation: fadeIn ease-in 1; /* call our keyframe named fadeIn, use animation ease-in and repeat it only 1 time */
   animation-fill-mode: forwards; /* this makes sure that after animation is done we remain at the last keyframe value (opacity: 1) */
   animation-duration: 0.5s;
 

+ 1 - 1
src/main/frontend/components/page.cljs

@@ -311,7 +311,7 @@
 
 (rum/defc page-title-configure
   [*show-page-info?]
-  [:div.absolute.-top-4.left-0.fade-in.faster-fade-in
+  [:div.absolute.-top-5.-left-2.scale-75.faster.fade-in
    (shui/button
     {:variant :outline
      :size :xs