Skip to content

Commit

Permalink
hotfix: <hr> in blog hidden behind offset figure (#310)
Browse files Browse the repository at this point in the history
* hotfix: `<hr>` in blog hidden behidn offset figure

Fixed on production TUP via:
https://tacc.utexas.edu/admin/djangocms_snippet/snippet/146/change/

* build: dist

* fix: delete code causing `<hr>` misbehaving in CMS

Justification:
#310 (comment)

* build: dist
  • Loading branch information
wesleyboar committed Mar 1, 2024
1 parent c5e1c86 commit 93db791
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 7 deletions.
2 changes: 1 addition & 1 deletion dist/core-styles.cms.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/core-styles.docs.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/elements/html-elements.cms.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 0 additions & 4 deletions src/lib/_imports/elements/html-elements.cms.css
Original file line number Diff line number Diff line change
Expand Up @@ -106,10 +106,6 @@ Styleguide Elements.TextContent
border-top-color: var(--global-color-primary--light);

margin-bottom: var(--global-space--hr-buffer-below); /* overwrite Bootstrap */

/* To fix widthless-ness when <hr> is a grid or flex item */
/* https://dev.to/alvaromontoro/the-disappearing-line-a-css-mystery-3e35 */
width: 100%;
}


Expand Down

0 comments on commit 93db791

Please sign in to comment.