diff options
author | Rasmus Andersson <rasmus@notion.se> | 2017-09-30 19:53:03 +0300 |
---|---|---|
committer | Rasmus Andersson <rasmus@notion.se> | 2017-09-30 19:53:03 +0300 |
commit | 2b8351ec94715e09c37cb0911253fd7c7ed22a5c (patch) | |
tree | 3ffb1110a8fc622223ef3f769628fc82ad08b1af /docs/lab | |
parent | 977a2242fe60d6d5143a9be9cfbc4074d325e2b6 (diff) | |
download | inter-2b8351ec94715e09c37cb0911253fd7c7ed22a5c.tar.xz |
website/lab: fixes repertoire styling
Diffstat (limited to 'docs/lab')
-rw-r--r-- | docs/lab/index.html | 12 |
1 files 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) + } + }) } }) |