Skip to content

Commit

Permalink
Improve font-size and alignment in Bootstrap Card header (#7037)
Browse files Browse the repository at this point in the history
* Reduce Card title font-size in Bootstrap

* Further styling fixes
  • Loading branch information
philippjfr committed Jul 29, 2024
1 parent 42a7590 commit eb9108e
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions panel/theme/css/bootstrap.css
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,38 @@ button.accordion-header {
border-radius: 0;
}

.card-button {
line-height: 0.9em;
}

.card-title {
margin-bottom: 5px;
}

:host(.card-title) h1 {
font-size: 2em;
}

:host(.card-title) h2 {
font-size: 1.5em;
}

:host(.card-title) h3 {
font-size: 1.17em;
}

:host(.card-title) h4 {
font-size: 1em;
}

:host(.card-title) h5 {
font-size: 0.83em;
}

:host(.card-title) h6 {
font-size: 0.67em;
}

:host(.card-title) h1,
:host(.card-title) h2,
:host(.card-title) h3,
Expand Down

0 comments on commit eb9108e

Please sign in to comment.