sigoden / dufs

A file server that supports static serving, uploading, searching, accessing control, webdav...
Other
5.45k stars 259 forks source link

fix: The head will block main contents when overflow #385

Closed vfr456 closed 2 months ago

sigoden commented 2 months ago

how to reproduce the bug and screenshot?

vfr456 commented 2 months ago
image image

When I resize my browser(reduce the width), or on the phone. The path and toolbars will wrap, and block the contents below.

image

This fix will add margin-top to the div main, by detect the real height of div head

sigoden commented 2 months ago

Thank you for your feedback. I understand the issue, but using Javascript isn't a good solution.

386 fixs this issue using pure CSS. @vfr456

vfr456 commented 2 months ago

Yes, the pure CSS is cool! I can't wait to get the new release! 😁