]> git.openstreetmap.org Git - rails.git/commitdiff
Merge pull request #4156 from AntonKhorev/bootstrap-code-direction-fix
authorAndy Allan <git@gravitystorm.co.uk>
Wed, 16 Aug 2023 12:24:11 +0000 (13:24 +0100)
committerGitHub <noreply@github.com>
Wed, 16 Aug 2023 12:24:11 +0000 (13:24 +0100)
Don't do direction override from Bootstrap reboot of <code>

app/assets/stylesheets/common.scss

index 5f89453c62634dac4ea172294abd75013c886e8e..ee11340d940cec302d2fd45d09410ae829916eda 100644 (file)
@@ -1190,6 +1190,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 {