Improve Responsive Image Handling in Docs (Remove Inline Widths, Avoid Media Queries, No !important) #547
Labels
framework/hugo
help wanted
Extra attention is needed
kind/enhancement
Improvement in current feature
language/css
language/html
language/javascript
Javascript related
The current CSS solution relies on media queries and
!important
declarations, which can be fragile and harder to maintain. The goal of this issue is to refactor and optimize the current solution for better long-term maintainability and scalability.Screenshots that are too low in quality should ideally be excluded from the docs or not used in figure components, to preserve visual clarity and professionalism.
Optimization Goals:
Eliminate media queries
max-width
,min-width
, andcalc()
to allow fluid layouts across any screen size.Avoid
!important
usage!important
.Improve scaling for various image types
The text was updated successfully, but these errors were encountered: