website/lab: fixes repertoire styling

This commit is contained in:
Rasmus Andersson 2017-09-30 09:53:03 -07:00
parent 977a2242fe
commit 2b8351ec94

View file

@ -930,6 +930,8 @@ samples {
sample .glyphlist { sample .glyphlist {
display: flex; display: flex;
flex-wrap: wrap; flex-wrap: wrap;
letter-spacing:0;
line-height: normal;
} }
sample .glyphlist g { sample .glyphlist g {
margin:1px; margin:1px;
@ -957,6 +959,8 @@ samples {
flex: 0 0 auto; flex: 0 0 auto;
font-size:9px; font-size:9px;
color: rgba(0,0,0,0.3); color: rgba(0,0,0,0.3);
font-weight: 400;
padding-bottom:2px;
/*height: 16px;*/ /*height: 16px;*/
} }
sample .glyphlist.hideNames g span.name { sample .glyphlist.hideNames g span.name {
@ -1501,8 +1505,12 @@ function main() {
} }
} }
if (sizeVar && v == 'Repertoire') { if (v == 'Repertoire') {
sizeVar.refreshValue(null) requestAnimationFrame(() => {
if (sizeVar) {
sizeVar.refreshValue(null)
}
})
} }
}) })