commit | 8fbe0ea0eeded97a3b6713aa33b417296ce6b33e | [log] [tgz] |
---|---|---|
author | anjulij <anjulij@google.com> | Thu Jul 21 11:50:39 2022 -0400 |
committer | SkCQ <skcq-be@skia-corp.google.com.iam.gserviceaccount.com> | Thu Jul 21 16:55:41 2022 +0000 |
tree | 778d05c92d3d325045f42700519721fc59ce7fc0 | |
parent | 99b532fb23ea3f486e3d3c2796a61011e21b90e4 [diff] |
Increase treemap font size accessibility. Instead of using pixel for the font size using rem allows users to alter root font size and have this change reflected in the binary-page. This is especially helpful for user with vision impairements. Change-Id: I58345ed6c5b17942d15ee0be9642ee5113adf9ca Reviewed-on: https://skia-review.googlesource.com/c/buildbot/+/561316 Reviewed-by: Jorge Betancourt <jmbetancourt@google.com> Reviewed-by: Kevin Lubick <kjlubick@google.com> Commit-Queue: Kevin Lubick <kjlubick@google.com>
diff --git a/codesize/modules/binary-page-sk/binary-page-sk.scss b/codesize/modules/binary-page-sk/binary-page-sk.scss index 69bd9f9..ddf0816 100644 --- a/codesize/modules/binary-page-sk/binary-page-sk.scss +++ b/codesize/modules/binary-page-sk/binary-page-sk.scss
@@ -16,4 +16,8 @@ margin-top: 10px; flex: 1; } + + #treemap svg text { + font-size: 1rem; + } }