diff --git a/site/theme/static/common.less b/site/theme/static/common.less index cf2242da66..f14c74b29c 100644 --- a/site/theme/static/common.less +++ b/site/theme/static/common.less @@ -1,9 +1,10 @@ -html.rtl { - direction: rtl; +html { + &.rtl { + direction: rtl; + } } body { - overflow-x: hidden; color: @site-text-color; font-size: @font-size-base; font-family: @font-family; @@ -18,6 +19,7 @@ a { .main-wrapper { position: relative; padding: 40px 0 0; + overflow-x: hidden; background: @component-background; }