CSS comment
-
Hi Edward,
Just a heads up on a bit of duplicate CSS in v2.0.2 on line 115 of staffer-styles.css which reads:
.cw-staffer-modal {
display: none;
position: fixed;
width: 80vw;
height: 80vh;
z-index: 9999999;
background-color: white;
color: #222;
overflow: auto;
margin: 0 auto;
border: 1px solid #1a1a1a;
height: 80vh;
margin: 1% auto;
left: 0;
right: 0;
top: 10%
}“height” is defined twice here. Also, I find height:auto works well for the modal window. I found this when noticing that our short staff bios had a long page of empty modal window beneath the content.
Also I am not sure why .cw-staffer-modal is set to “display: none” since the browser overrides that with div.cw-staffer-modal {display: block}.
- The topic ‘CSS comment’ is closed to new replies.