[wp-trac] [WordPress Trac] #30359: Widget Areas should stick to the browser viewport
WordPress Trac
noreply at wordpress.org
Tue Dec 5 02:31:18 UTC 2017
#30359: Widget Areas should stick to the browser viewport
-------------------------------------+-------------------------------------
Reporter: dd32 | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Future Release
Component: Widgets | Version: 4.0
Severity: normal | Resolution:
Keywords: needs-patch good-first- | Focuses: ui, javascript,
bug | administration
-------------------------------------+-------------------------------------
Comment (by galbaras):
I've tried adding "overflow-y: scroll; overflow-x: hidden; height: 90vh;"
to .widget-liquid-right seems to do the trick, but 90vh may not be ideal
at every width.
Also, this needs to be combined with setting .widget to "max-width: 100%;"
and removing the assignment of margin-left to some negative number when
the widget is opened, which is done in a script.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/30359#comment:9>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list