Radish alpha
r
rad:z4D5UCArafTzTQpDZNQRuqswh3ury
Radicle desktop app
Radicle
Git
Customize layout of textarea scrollbar
Sebastian Martinez committed 10 months ago
commit 30710d51818714feb132102ed267303045975f85
parent c8b0861
1 file changed +14 -0
modified src/components/Textarea.svelte
@@ -147,6 +147,20 @@
    color: var(--color-foreground-dim);
  }

+
  textarea::-webkit-scrollbar {
+
    width: 7px;
+
    height: 7px;
+
  }
+

+
  textarea::-webkit-scrollbar-track {
+
    background-color: transparent;
+
  }
+

+
  textarea::-webkit-scrollbar-thumb {
+
    background-color: var(--color-fill-ghost);
+
    border-radius: 4px;
+
  }
+

  .dragover {
    position: absolute;
    opacity: 0.5;