Unverified Commit a06d5d8e authored by lauriii's avatar lauriii
Browse files

Issue #3210902 by mherchel, tushar_sachdeva, kostyashupenko, RenatoG,...

Issue #3210902 by mherchel, tushar_sachdeva, kostyashupenko, RenatoG, kiran.kadam911, Sakthivel M, marcusvsouza, guilhermevp, penyaskito, sulfikar_s: Blockquote can overflow into the sidebar in the Olivero theme

(cherry picked from commit 9c41e6ef)
parent 8b4e6806
......@@ -260,3 +260,19 @@
width: 68.14286rem
}
}
/**
* <pre> and <blockquote> elements should not break containers and overflow
* into sidebar region when present.
*/
.sidebar-grid .layout--content-narrow.text-content blockquote,
.sidebar-grid .layout--content-narrow.text-content pre,
.sidebar-grid .layout--content-narrow .text-content blockquote,
.sidebar-grid .layout--content-narrow .text-content pre,
.sidebar-grid .layout--pass--content-narrow > *.text-content blockquote,
.sidebar-grid .layout--pass--content-narrow > *.text-content pre,
.sidebar-grid .layout--pass--content-narrow > * .text-content blockquote,
.sidebar-grid .layout--pass--content-narrow > * .text-content pre {
width: auto;
}
......@@ -131,3 +131,20 @@
}
}
}
/**
* <pre> and <blockquote> elements should not break containers and overflow
* into sidebar region when present.
*/
.sidebar-grid {
& .layout--content-narrow,
& .layout--pass--content-narrow > * {
&.text-content,
& .text-content {
& blockquote,
& pre {
width: auto;
}
}
}
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment