onlook icon indicating copy to clipboard operation
onlook copied to clipboard

feat: Making the size of the top information bar on the window at various zooms

Open tylerhaisman opened this issue 1 week ago • 3 comments

Description

Hello! My PR is my attempt to address issue #272 ([FEAT] Maintain the size of the top information bar on the window at various zooms) where I make the size of the top information bar on the window at various zooms.

Also, I have to make this PR as part of a school project, so I apologize if any part of it is not up to your standards or you think needs more work :)

Related Issues

Related to #272, [FEAT] Maintain the size of the top information bar on the window at various zooms

Type of Change

  • [ ] Bug fix
  • [x] New feature
  • [ ] Documentation update
  • [ ] Release
  • [ ] Other (please describe):

Testing

I visually tested the node in both dark and light modes to ensure it performed and followed the webview as expected.

Screenshots (if applicable)

Before:

Screenshot 2025-02-16 at 10 39 07 PM Screenshot 2025-02-16 at 10 38 52 PM

After:

BrowserControls load in at normal zoom:

Screenshot 2025-02-16 at 10 37 52 PM

BrowserControls stay the same size at small zoom:

Screenshot 2025-02-16 at 10 38 16 PM Screenshot 2025-02-16 at 10 39 35 PM

I also added a transparent to grey gradient on the right side of the new node which will "fade out" an extra-long URL, ensuring that the dropdown button is visible:

Screenshot 2025-02-16 at 10 40 03 PM

Additional Notes

I have to make this PR as part of a school project, so I apologize if any part of it is not up to your standards or you think needs more work :)

tylerhaisman avatar Feb 17 '25 03:02 tylerhaisman