Ver código fonte

fix: slider background

Konstantinos Kaloutas 3 anos atrás
pai
commit
a85f38f414
2 arquivos alterados com 2 adições e 11 exclusões
  1. BIN
      resources/img/checker.png
  2. 2 11
      tldraw/apps/tldraw-logseq/src/styles.css

BIN
resources/img/checker.png


+ 2 - 11
tldraw/apps/tldraw-logseq/src/styles.css

@@ -935,21 +935,12 @@ html[data-theme='dark'] {
 }
 
 .tl-slider-root {
-  @apply relative flex items-center w-full;
+  @apply relative flex items-center w-full rounded-sm;
 
   user-select: none;
   touch-action: none;
-  background-color: var(--ls-secondary-background-color);
+  background: url("../img/checker.png");
 
-  &[data-orientation="horizontal"] {
-    height: 20px;
-  }
-
-  &[data-orientation="vertical"] {
-    flex-direction: column;
-    width: 20px;
-    height: 100%;
-  }
 }
 
 .tl-slider-track {