Mercurial > hgrepos > hgweb.cgi > s4
changeset 320:9735dd6c7bff
Workaround for chromium's not supporting visibility: collapse;
author | HIROSE Yuuji <yuuji@gentei.org> |
---|---|
date | Mon, 17 Oct 2016 09:50:48 +0859 |
parents | a868f03970b5 |
children | d8656d4c210e |
files | examples/common/default/default.css |
diffstat | 1 files changed, 3 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/examples/common/default/default.css Mon Oct 17 09:11:05 2016 +0859 +++ b/examples/common/default/default.css Mon Oct 17 09:50:48 2016 +0859 @@ -100,10 +100,11 @@ table.mini td, table.mini th {padding: 1px 1ex; min-width: 1em;} table.mini {margin-left: 1em; border-left: 2px solid #686;} -div.noprofimg tr.profimg {visibility: collapse;} +/* "visibility: collapse" not working on chromium browser */ +div.noprofimg tr.profimg {visibility: collapse; display: none;} div.noprofimg tr:hover + tr.profimg, div.noprofimg tr:active + tr.profimg, div.noprofimg tr.profimg:hover, div.noprofimg tr.profimg:active { - visibility: visible;} + visibility: visible; display: table-row;} p.profimg {float: left; max-width: 50%; max-height: 400px; overflow: hidden; margin: 0 1em 1ex;