Unverified Commit 9c41e6ef authored by Lauri Timmanee's avatar Lauri Timmanee
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
parent 9a746491
Loading
Loading
Loading
Loading
+16 −0
Original line number Diff line number Diff line
@@ -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;
      }
+17 −0
Original line number Diff line number Diff line
@@ -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;
      }
    }
  }
}