1
1
mirror of https://github.com/rsms/inter.git synced 2024-10-26 12:39:40 +03:00

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