gofiber / swagger

🧬 fiber middleware to automatically generate RESTful API documentation with Swagger
MIT License
425 stars 31 forks source link

Removing margin and padding from body #76

Closed projectxiel closed 4 months ago

projectxiel commented 10 months ago

Without the change I've made there is a default margin on the body, or maybe its padding I didn't really check, the point is there is a gap between the outter edges of the browser and the outer edges of the UI.

I've noticed this for years, because this isn't the first time I've used this. Its been bugging me like crazy so I finally cracked and decided to fork just fix this one little thing, and really it takes a single line of js, or theoretically you could do it in CSS too.

With the change there is no longer the gap and people like me who get annoyed by little things like this can sleep easier at night.

uvulpos commented 5 months ago

Solution + Workaround

Screenshot 2024-07-02 at 22 35 37 Screenshot 2024-07-02 at 22 36 05