1
0
mirror of https://github.com/sakofchit/system.css.git synced 2026-05-05 06:01:22 +09:00

Use <h1> for modal dialog box heading, tweak styles

add explicit `font-weight: normal` to `.modal-text` and `.alert-text`, so that it overrides the otherwise bold look of the `<h1>`
This commit is contained in:
Patrick H. Lauke
2022-08-12 19:55:02 +01:00
parent 9efcaea9f6
commit 496de34c1e
2 changed files with 2 additions and 1 deletions

View File

@@ -85,6 +85,7 @@ h3 {
font-size: 1.2em;
margin-top: 10px;
vertical-align: middle;
font-weight: normal;
}
.modeless-text {

View File

@@ -529,7 +529,7 @@
<div class="inner-border center">
<div class="modal-contents">
<p class="modal-text">Modal Dialog</p>
<h1 class="modal-text">Modal Dialog</h1>
<div style="padding-left: 20px;">
<div class="field-row">
<input id="radio${getNewId()}" type="radio" name="second-example">