CanvasBlocker icon indicating copy to clipboard operation
CanvasBlocker copied to clipboard

Weird empty space below `.versionDisplay` in the page action popup

Open Jee-Hex opened this issue 6 months ago • 0 comments

Description

There is this weird empty space below .versionDisplay in the page action popup (when compared to the browser action) that goes away when I added display:none; to .versionDisplay.

Expected Behaviour

Similar amount of empty space below .versionDisplay in both the browser action and page action popup.

Current Behaviour

So much more empty space below .versionDisplay in the page action popup than in the browser action popup.

Possible Solution

Disabling padding-bottom: 1.5em; in pageAction.css:5 and then flipping the display:none; added to .versionDisplay on and off seem to work relatively well in getting rid of that empty space. Adding

@-moz-document url("moz-extension://[canvasblocker-webext-uuid]/pageAction/pageAction.html") {
	body {
		padding-bottom: 2px !important;
	}
}

to userContent.css also worked for me.

Context

Feel free to close as INVALID/WONTFIX if this was intentional.

Your Environment

  • CanvasBlocker Version used: 1.10.1/1.11
  • Firefox version incl. 32- or 64-bit: 128.9.0esr
  • Operating System and version (desktop or mobile): Desktop

Jee-Hex avatar Apr 02 '25 15:04 Jee-Hex