Alert box blocks part of the input fields
-
The alert
<div>
that shows up when a required input field is left empty doesn’t go out of the way when it gets hidden. And the hidden element still blocks the top part of the input fields.A simple solution is to change the
z-index
to-1
for the hidden alert and to addz-index
with value1
to the the shown alert..wpdiscuz-item .alert{...; z-index:-1; ...}
.wpdiscuz-item.bad .alert{z-index:1; ....
Also the CSS of these alert boxes doesn’t have and RTL version and are always aligned left, so can you also fix?
Here is my proposed RTL solution:
for.alert
left:auto; right:-15px;
for.bad .alert
left:auto; right:0;
- The topic ‘Alert box blocks part of the input fields’ is closed to new replies.