From 6fe7aaa0e4cb3f252ba02301edd9289c4d3d1180 Mon Sep 17 00:00:00 2001 From: Isaiah Odhner Date: Tue, 23 May 2017 02:54:26 +0000 Subject: [PATCH] Fix extra scrollbar buttons on textbox --- TODO.md | 1 - styles/themes/classic.css | 5 +++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/TODO.md b/TODO.md index 09ca16f..d78fbe9 100644 --- a/TODO.md +++ b/TODO.md @@ -57,7 +57,6 @@ * It lags unusably when using tools * For some tools it only happens while dragging the mouse on the canvas * Tool options flicker... *and lag*, when they're redrawn in quick succession - * The TextBox `-webkit-scrollbar`s get extra buttons * The TextBox contents move down and right when rasterizing * Free-form select can leave behind inverty brush in multiplayer * Multiplayer cursors that go outside the parent can cause the page to be scrollable diff --git a/styles/themes/classic.css b/styles/themes/classic.css index 4b29af1..0ba33cf 100644 --- a/styles/themes/classic.css +++ b/styles/themes/classic.css @@ -482,3 +482,8 @@ background: black; } +/* turn off double buttons */ +::-webkit-scrollbar-button:start:increment, +::-webkit-scrollbar-button:end:decrement { + display: none; +}