Commit f48d12be authored by Gergely Ujvari's avatar Gergely Ujvari

Add ltr direction to our top injected elements.

Otherwise our text flow is broken at rtl pages.
Also remove a superfluous rule
parent f188e0d4
...@@ -165,6 +165,7 @@ $input-border-radius: 2px; ...@@ -165,6 +165,7 @@ $input-border-radius: 2px;
.annotator-notice { .annotator-notice {
@include box-shadow(inset 2px 1px 1px hsla(0, 0%, 0%, .1)); @include box-shadow(inset 2px 1px 1px hsla(0, 0%, 0%, .1));
@include single-transition(opacity, .2s); @include single-transition(opacity, .2s);
direction: ltr;
font-family: $sans-font-family; font-family: $sans-font-family;
line-height: 29px; line-height: 29px;
opacity: 0; opacity: 0;
......
...@@ -10,6 +10,7 @@ $base-font-size: 14px; ...@@ -10,6 +10,7 @@ $base-font-size: 14px;
$border: $gray; $border: $gray;
$hoverborder: $gray-dark; $hoverborder: $gray-dark;
@include box-sizing(border-box); @include box-sizing(border-box);
direction: ltr;
height: 40px; height: 40px;
margin-left: -20px; margin-left: -20px;
margin-top: -50px; margin-top: -50px;
...@@ -138,6 +139,7 @@ $base-font-size: 14px; ...@@ -138,6 +139,7 @@ $base-font-size: 14px;
@include reset-box-model; @include reset-box-model;
@include user-select(none); @include user-select(none);
@extend .noise; @extend .noise;
direction: ltr;
background: none; background: none;
font-size: $base-font-size; font-size: $base-font-size;
line-height: $base-line-height; line-height: $base-line-height;
...@@ -181,7 +183,6 @@ $base-font-size: 14px; ...@@ -181,7 +183,6 @@ $base-font-size: 14px;
.annotator-frame .annotator-toolbar { .annotator-frame .annotator-toolbar {
position: absolute; position: absolute;
left: -($heatmap-width + 18px - 7px); left: -($heatmap-width + 18px - 7px);
right: 0;
width: 37px; width: 37px;
z-index: 2; z-index: 2;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment