Fixed display of warnings after content import (#2192)

- Fixes the horizontal overflow caused my longer warning/error messages. This means the <pre> tag is sized to fit the container and can now be scrolled and read in its entirety.
- Adds some top margin so these errors are not so bunched up to the text & input.
This commit is contained in:
Paul Davis 2022-08-02 09:23:46 +01:00 committed by GitHub
parent 643a684434
commit 1c36b93949
2 changed files with 2 additions and 0 deletions

View File

@ -1327,6 +1327,7 @@
.gh-expandable { .gh-expandable {
background: var(--main-color-content-greybg); background: var(--main-color-content-greybg);
border-radius: 3px; border-radius: 3px;
overflow-x: hidden;
} }
.gh-expandable-block { .gh-expandable-block {

View File

@ -1183,6 +1183,7 @@ body:not([data-user-is-dragging]) .gh-newsletter-card-draggable:hover .grab-news
letter-spacing: 0.2px; letter-spacing: 0.2px;
background: #fff; background: #fff;
border-radius: 5px; border-radius: 5px;
margin-top: 18px;
margin-bottom: 25px; margin-bottom: 25px;
} }