From 07d53b24ff42f829debd10896a5a8f064770a34d Mon Sep 17 00:00:00 2001 From: chrisgarrity <chrisg@media.mit.edu> Date: Wed, 1 Aug 2018 11:54:00 -0400 Subject: [PATCH] RTL Labels Move the margin to the other side. --- src/components/forms/label.css | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/src/components/forms/label.css b/src/components/forms/label.css index 759a731d3..14691f105 100644 --- a/src/components/forms/label.css +++ b/src/components/forms/label.css @@ -9,13 +9,20 @@ .input-label, .input-label-secondary { font-size: 0.625rem; - margin-right: .5rem; user-select: none; cursor: default; white-space: nowrap; } +[dir="ltr"] .input-label, .input-label-secondary { + margin-right: .5rem; +} + +[dir="rtl"] .input-label, .input-label-secondary { + margin-left: .5rem; +} + .input-label { font-weight: bold; } -- GitLab