{"id":9532996,"date":"2017-09-26T20:34:16","date_gmt":"2017-09-26T20:34:16","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/css-comment\/"},"modified":"2017-09-26T20:34:16","modified_gmt":"2017-09-26T20:34:16","slug":"css-comment","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/css-comment\/","title":{"rendered":"CSS comment"},"content":{"rendered":"<p>Hi Edward,<\/p>\n<p>Just a heads up on a bit of duplicate CSS in v2.0.2 on line 115 of staffer-styles.css which reads:<br \/>\n.cw-staffer-modal {<br \/>\n    display: none;<br \/>\n    position: fixed;<br \/>\n    width: 80vw;<br \/>\n    height: 80vh;<br \/>\n    z-index: 9999999;<br \/>\n    background-color: white;<br \/>\n    color: #222;<br \/>\n    overflow: auto;<br \/>\n    margin: 0 auto;<br \/>\n    border: 1px solid #1a1a1a;<br \/>\n    height: 80vh;<br \/>\n    margin: 1% auto;<br \/>\n    left: 0;<br \/>\n    right: 0;<br \/>\n    top: 10%<br \/>\n}<\/p>\n<p>&#8220;height&#8221; 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.<\/p>\n<p>Also I am not sure why .cw-staffer-modal is set to &#8220;display: none&#8221; since the browser overrides that with div.cw-staffer-modal {display: block}.<\/p>\n","protected":false},"template":"","class_list":["post-9532996","topic","type-topic","status-publish","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/9532996","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/9532996\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=9532996"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}