You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 6, 2025. It is now read-only.
I'm creating a site that has sidebar that can either be shown or hidden. When the sidebar is open, there's less space for the content so it makes sense that I change how things are displayed inside the main area.
Currently as far as I know, the Responsive API is all based off of the Viewport width. Is it possible to use the Responsive API for a specific container's width?
I imagine that it would require a directive to specify which container I'd like to target and then have all children pointing to that.
Added a plnkr of a dynamically visible navigation and chat. When both items are open, the container is very small and I would like to alter how the items inside are displayed: https://plnkr.co/edit/TENLYtc5BmUZC0sWliW7?p=preview
As a workaround/hack, it looks like I'll have to use the API to reduce the breakpoints when the sidebar is toggled
The text was updated successfully, but these errors were encountered:
intellix
changed the title
Container based media queries
Container/Element based media queries
Mar 15, 2017
I'm creating a site that has sidebar that can either be shown or hidden. When the sidebar is open, there's less space for the content so it makes sense that I change how things are displayed inside the main area.
Currently as far as I know, the Responsive API is all based off of the Viewport width. Is it possible to use the Responsive API for a specific container's width?
I imagine that it would require a directive to specify which container I'd like to target and then have all children pointing to that.
Added a plnkr of a dynamically visible navigation and chat. When both items are open, the container is very small and I would like to alter how the items inside are displayed: https://plnkr.co/edit/TENLYtc5BmUZC0sWliW7?p=preview
As a workaround/hack, it looks like I'll have to use the API to reduce the breakpoints when the sidebar is toggled
The text was updated successfully, but these errors were encountered: