scratch-gui icon indicating copy to clipboard operation
scratch-gui copied to clipboard

Remove Feedback Button causes Block Count addon to have extra padding

Open pumpkinhasapatch opened this issue 2 years ago • 0 comments

Expected Behavior

When the 'TurboWarp Feedback' button is hidden using the 'Remove Feedback Button' addon and 'Block count' is also enabled, the Block Counter that appears in the menu bar will move all the way to the left so it is just next to the project title box.

image

image

Actual Behavior

image

Three <div> flex elements are left behind by the Feedback button, causing the block counter to be offset 24 pixels to the right. (Yes I'm writing a whole report just because of this little styling error, I even made a fancy gif about it using Inspect Element, please help me ;-;) block-count-padding

Steps to Reproduce

Open any version of TurboWarp Desktop released since December 16, 2021 and head to the Addon Settings menu by clicking the Addons button in the top-left. Enable both the 'Block count' and 'Remove feedback button' addon in any order. You can immediately see the Feedback button hide and the block count appear, floating a bit too far to the right of the project title box next to it.

This seems to be fixed in the current web version of TurboWarp, removing the extra <div>s. Not sure if we're waiting for recent updates to get pushed to Desktop or if it's been like this for years. image

Operating System and Browser

Windows 11 22H2 x64, TurboWarp Desktop 1.9.0-beta.3, Electron 22.3.21

pumpkinhasapatch avatar Aug 26 '23 12:08 pumpkinhasapatch