diff --git a/app/src/App.css b/app/src/App.css index 8f9924d7..cbd5fb86 100644 --- a/app/src/App.css +++ b/app/src/App.css @@ -247,30 +247,6 @@ textarea.otp { color: #333; } -.inline-header h1 { - display: inline-block; -} - -.inline-header h2 { - display: inline-block; -} - -.inline-header h3 { - display: inline-block; -} - -.inline-header h4 { - display: inline-block; -} - -.inline-header h5 { - display: inline-block; -} - -.inline-header span { - margin-left: 1em; -} - .card-icon { min-height: 163px; text-align: center; diff --git a/app/src/components/Common.js b/app/src/components/Common.js index 6cbdec6e..0be2a362 100644 --- a/app/src/components/Common.js +++ b/app/src/components/Common.js @@ -810,14 +810,22 @@ export function InfoHeader({ required = false, ...props }) { - return
- - - - -
+ /* + * The icon goes in the heading's own `after` slot. It used to be a sibling `` + * beside a `