Justoverclock I think I have issue with my custom css code but I need help to find the problem on Flarum.it if i put a word inside code tag, this automatically goes into a new row. how can i make my code to appear like this <—
Ralkage Can you post your custom CSS/LESS code here? Use the triple tick (```) markdown and give it the ol' CSS language label so it's easily readable please 🙏 Edit: from your screenshot, it looks like it's on the same line as your sentence, you just need to adjust your styling a bit 😉
Justoverclock idk how to give css label .Post-body code { border: 1px solid #ddd; border-left: 3px solid #f36d33; color: #666; page-break-inside: avoid; font-family: monospace; font-size: 15px; line-height: 1.6; margin-bottom: 1.6em; max-width: 100%; overflow: auto; padding: 1em 1.5em; display: inline-block; word-wrap: break-word; border-radius: 10px; } .Post-body pre code { border: 1px solid #ddd; border-left: 3px solid #f36d33; color: #666; page-break-inside: avoid; font-family: monospace; font-size: 15px; line-height: 1.6; margin-bottom: 1.6em; max-width: 100%; overflow: auto; padding: 1em 1.5em; display: inline-block; word-wrap: break-word; border-radius: 10px; }
Ralkage Justoverclock may I suggest dropping margin-bottom: 1.6em; as well as padding: 1em 1.5em;? it'll look a lot cleaner that way 🙂
Justoverclock i have some problem with a composer with rich text editor (@askvortsov maybe u know how to fix this): example:
Justoverclock AnteikuDevs is all css....simply inspect your codeblocks and change css according to your needs