From a0c55e7b9afd19a88c133131b5ece61821c85837 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Sun, 18 Mar 2018 12:32:34 +0100 Subject: [PATCH] text: make sure wrapped text keep being aligned --- src/browser/scss/widgets/_plots.scss | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/browser/scss/widgets/_plots.scss b/src/browser/scss/widgets/_plots.scss index 0ce0619b..fca5fbd1 100644 --- a/src/browser/scss/widgets/_plots.scss +++ b/src/browser/scss/widgets/_plots.scss @@ -76,10 +76,13 @@ border: 1rem solid var(--color-bg); line-height: 100%; overflow: hidden; + text-align: center; &.right { + text-align: right; justify-content: flex-end; } &.left { + text-align: left; justify-content: flex-start; } &.wrap {