Fix the overflow handling of the code box header
authorAlexander Ebert <ebert@woltlab.com>
Thu, 13 Jun 2024 12:02:31 +0000 (14:02 +0200)
committerAlexander Ebert <ebert@woltlab.com>
Thu, 13 Jun 2024 12:02:31 +0000 (14:02 +0200)
See https://www.woltlab.com/community/thread/306288-erroneous-placement-of-icons-in-code-box-title-on-mobile/

wcfsetup/install/files/style/bbcode/code.scss

index aa823826d8c46d40f4df2832e92f8c600167750e..8f4e8623740a646d109b34a7e9db88c3903bad90 100644 (file)
                        }
                }
 
-               .icon {
+               .toggleButton,
+               button {
                        flex: 0 0 auto;
-
-                       &:not(:last-child) {
-                               margin-right: 10px;
-                       }
                }
        }