Replies: 2 comments
-
Could you check with inspector/DevTools what
See if that works :) I also recommend taking a look at the css position property |
Beta Was this translation helpful? Give feedback.
-
Hello @rmscode, .md-grid {
max-width: initial;
}
.md-code__content {
max-width: 50%;
} There is a .highlight {
max-width: 50%;
} |
Beta Was this translation helpful? Give feedback.
-
I wanted my mkdocs site to be full width, so I added this to extra.css:
As a result, code blocks, among other things, are also full width. I would much rather have codeblocks, admonitions, etc. keep their default widths.
Anyway, I found the
.md-code__content
class and made my desired adjustments but I don't know how to get the copy button (.md-clipboard
?) back "inside" the code block.Beta Was this translation helpful? Give feedback.
All reactions