Pong420 / google-tasks-desktop

Unofficial Google Tasks Desktop Client
MIT License
138 stars 16 forks source link

fix: app-region height #57

Closed Keerpich closed 3 years ago

Keerpich commented 3 years ago

the app-region element was extending over the task list dropdown and preventing it from receive click events

Pong420 commented 3 years ago

Thanks your PR, I will take a look later but which OS are you using.

Keerpich commented 3 years ago

I'm using Windows 10 Pro

On Thu, Feb 18, 2021, 05:15 Pong notifications@github.com wrote:

Thanks your PR, I will take a look later but which OS are you using.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Pong420/google-tasks-desktop/pull/57#issuecomment-781015150, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABIJ4QAXQTPMNCGPVIDWWYTS7SA3LANCNFSM4XZFTGCA .

Pong420 commented 3 years ago

The root cause should be duplicated .app-region element. Please check out the latest commit (5097bd73db8f05ec72a8af8525cb805fd9df6922) at master branch. If the issue is fixed I will publish a new version later

Keerpich commented 3 years ago

The issue is fixed with that commit. However, linking the size of the app-region with the size of different other elements.

Pong420 commented 3 years ago

Sorry, I do not well understand your question. You mean the height of .app-region should not equal to the header ?

Keerpich commented 3 years ago

I mean --header-height is used in multiple places which are not related. At the moment you still force .app-region to be 90px tall which should not be the case. Furthermore, the framework can automatically figure out what the height of .app-region should be

Pong420 commented 3 years ago

The height of .app-region is required for frameless mode ( macOS, other OS could change in Preferences ) May be you could overwrite the height to auto here.

https://github.com/Pong420/google-tasks-desktop/blob/5097bd73db8f05ec72a8af8525cb805fd9df6922/src/components/AppRegion/AppRegion.scss#L22-L28