bitrequest / bitrequest.github.io

Web Application for crypto payment requests
https://www.bitrequest.io
GNU Affero General Public License v3.0
48 stars 11 forks source link

Scroll bars visible #6

Closed benkaiser closed 3 years ago

benkaiser commented 3 years ago

It appears when the dialog launches that both horizontal and vertical scrollbars are shown. Is this an easy fix?

Screen Shot 2021-08-05 at 1 09 21 am

Is it as simple as adding this CSS?

#payment {
  overflow: hidden;
}
bitrequest commented 3 years ago

Yep, seem like it is, thanks! Edit: No it's not that simple. You need the scrollbars on smaller windows. The problem is why the scrollbars are there on a bigger window.

bitrequest commented 3 years ago

I fixed this by hiding the horizontal scrollbar and hiding the vertical scrollbar when windowheight is greater then 800px: https://github.com/bitrequest/bitrequest.github.io/blob/master/assets/styles/media.css#L294