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
The dog image partially overlaps the close button.
I made the screen even less:
The close button aren’t visible.
4. Not helped
4.1. z-index
We can prioritize left and right arrows rather than images:
#hgallerybuttonz-indexinherit
Example result:
But I couldn’t find, how I can get the similar behavior for close button. It realized as pseudo-element #hg-bg::after (and possibly is not the best idea). I read about z-index for pseudo-elements on the Stack Overflow, but I couldn’t find, how I can solve the problem from this issue.
Thanks.
The text was updated successfully, but these errors were encountered:
1. Summary
Currently, images may overlap the close button element. I couldn’t find how I can fix it.
2. Argumentation
For mobile devices users current behavior may be not best.
3. MCVE
I opened hes-gallery demo page in Firefox → I ran Responsive Design Mode → I made the screen small:
The dog image partially overlaps the close button.
I made the screen even less:
The close button aren’t visible.
4. Not helped
4.1. z-index
We can prioritize left and right arrows rather than images:
Example result:
But I couldn’t find, how I can get the similar behavior for close button. It realized as pseudo-element
#hg-bg::after
(and possibly is not the best idea). I read aboutz-index
for pseudo-elements on the Stack Overflow, but I couldn’t find, how I can solve the problem from this issue.Thanks.
The text was updated successfully, but these errors were encountered: