vitmalina / w2ui

UI widgets for modern apps. Data table, forms, toolbars, sidebar, tabs, tooltips, popups. All under 120kb (gzipped).
http://w2ui.com
MIT License
2.66k stars 730 forks source link

Titles on panels are partially overlapped by the panel itself. #2417

Open sairum opened 1 year ago

sairum commented 1 year ago

Panels with titles seem to work on the demos in w2ui site but once you pull the code out of the site this behavior (overlapped titles) is observed, at least in Chromium and Firefox on Linux. I tried messing with the w2ui-panel-title settings to no avail. The best result I got was when I eliminated 'padding: 5px', but then the title box becomes the size of the text which does not look good!

Pensionarspoolen commented 1 year ago

I have the same problem, the reason for this is that the panels contents starts at a fixed position, for example a w2ui-toolbar has "top: 1.5px" so unless you have a very small font for the titles they get covered.

A cosmetic bug but still important!