ソースを参照

fix: match case toggle

Konstantinos Kaloutas 3 年 前
コミット
9f921013bc

+ 1 - 0
src/main/frontend/components/find_in_page.cljs

@@ -47,6 +47,7 @@
                 (debounced-search))
                 (debounced-search))
     :intent "link"
     :intent "link"
     :small? true
     :small? true
+    :title "Match case"
     :class (str (when match-case? "active ") "text-lg"))
     :class (str (when match-case? "active ") "text-lg"))
 
 
    (ui/button
    (ui/button

+ 4 - 0
src/main/frontend/components/find_in_page.css

@@ -13,5 +13,9 @@
 
 
   .ui__button {
   .ui__button {
       margin-top: 0;
       margin-top: 0;
+
+      &.active {
+        color: var(--ls-link-text-color);
+      }
   }
   }
 }
 }

+ 0 - 4
src/main/frontend/ui.css

@@ -243,10 +243,6 @@ html.is-mobile {
     @apply text-white;
     @apply text-white;
   }
   }
 
 
-  &.active {
-    color: var(--ls-link-text-color);
-  }
-
   &[intent='logseq'] {
   &[intent='logseq'] {
     @apply focus:border-gray-500 dark:hover:text-gray-200;
     @apply focus:border-gray-500 dark:hover:text-gray-200;