Disable red border for blocked large media elements #3407
-
When I use no-large-media option, all image placeholders have red dashed border. |
Beta Was this translation helpful? Give feedback.
Answered by
krystian3w
Oct 9, 2024
Replies: 1 comment 3 replies
-
Due CSS specificity: You should try this: *##:root img:not(#style_important):style(border: 1px solid lightgrey !important;)
! Rest of blocked huge media (optional):
*##:root picture:not(#style_important):style(border: 1px solid lightgrey !important;)
*##:root audio:not(#style_important):style(border: 1px solid lightgrey !important;)
*##:root video:not(#style_important):style(border: 1px solid lightgrey !important;) If too many photos will be bordered (e.g. smaller than limit or from cache loaded) then maybe needed use:
due looks out of control in |
Beta Was this translation helpful? Give feedback.
3 replies
Answer selected by
vvkdev
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Due CSS specificity:
You should try this:
If too many photos will be bordered (e.g. smaller than limit or from cache loaded) then maybe needed use:
:matches-attr(/^data-.*/=/^$/)
to founddata-.*
with empty value (still not w…