]> git.openstreetmap.org Git - rails.git/commitdiff
Don't do direction override from Bootstrap reboot of <code>
authorAnton Khorev <tony29@yandex.ru>
Fri, 11 Aug 2023 23:23:56 +0000 (02:23 +0300)
committerAnton Khorev <tony29@yandex.ru>
Fri, 11 Aug 2023 23:23:56 +0000 (02:23 +0300)
Later versions of Bootstrap don't have it.
See https://github.com/twbs/bootstrap/pull/35230

app/assets/stylesheets/common.scss

index 5a033bd0b6a3ed8e26cecf1c9d33930f8b29e89a..2f6aebf448290684cf713739a0399d64bc8e4852 100644 (file)
@@ -1233,6 +1233,8 @@ div.secondary-actions {
   code {
     background: $lightgrey;
     padding: 2px 3px;
+    direction: inherit; /* fix for Bootstrap < 5.2 */
+    unicode-bidi: unset; /* fix for Bootstrap < 5.2 */
   }
 
   pre {