feat: improve dropdown menu responsiveness

Update dropdown menu CSS to use max-content and max() function for better responsive behavior. Replace fixed min-width with dynamic width calculation to ensure proper content fitting across different screen sizes while maintaining dropdown functionality.
This commit is contained in:
Will Miao
2025-10-29 16:06:08 +08:00
parent 9d3d93823d
commit 4ef750b206

View File

@@ -356,7 +356,8 @@
left: 0;
z-index: 1000;
display: none;
min-width: 230px;
min-width: max(100%, max-content);
width: max-content;
padding: 5px 0;
margin: 2px 0 0;
font-size: 0.85em;