From 2b8351ec94715e09c37cb0911253fd7c7ed22a5c Mon Sep 17 00:00:00 2001 From: Rasmus Andersson Date: Sat, 30 Sep 2017 09:53:03 -0700 Subject: [PATCH] website/lab: fixes repertoire styling --- docs/lab/index.html | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/docs/lab/index.html b/docs/lab/index.html index 88dfda030..210fa3ccc 100644 --- a/docs/lab/index.html +++ b/docs/lab/index.html @@ -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) + } + }) } })