XengShi / materialYouNewTab

A Simple New Tab ( browsers's home page ) inspired with Google's 'Material You' design
https://xengshi.github.io/materialYouNewTab/
GNU General Public License v3.0
1.53k stars 164 forks source link

Language Selector Dropdown Expands Outside of the Tab #184

Open prem-k-r opened 2 weeks ago

prem-k-r commented 2 weeks ago

In the language selection area, the dropdown list for languages is expanding beyond the intended tab area.

Steps to Reproduce:

What I Expected to Happen: The dropdown list should stay within the tab/container area and allow scrolling if there are many options.

prem-k-r commented 2 weeks ago

@XengShi can you please check this one. It seems like an easy CSS fix.

I tried following: max-height: calc(100vh - 200px); overflow-y: auto; but it didn't work.

itz-rj-here commented 2 weeks ago

@XengShi can you please check this one. It seems like an easy CSS fix.

I tried following: max-height: calc(100vh - 200px); overflow-y: auto; but it didn't work.

Uhh add a scroll bar on the language selector -_-

XengShi commented 2 weeks ago

We cannot fully customize the default

elements.

Below is the code for a custom dropdown menu that allows for full customization. However, integrating this into the extension will take some time.

style custom dropdown.html.txt

prem-k-r commented 2 weeks ago

oh ok, so it's not straight forward

itz-rj-here commented 1 week ago

Any fixes?