Skip to content

Commit

Permalink
fix(modal): break text in modal title
Browse files Browse the repository at this point in the history
  • Loading branch information
hirsch88 committed Jan 20, 2022
1 parent 21be436 commit f7ccd46
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,11 @@ export class ModalHeader {
render() {
return (
<Host class="modal-card-head">
<h3 class="modal-card-title title is-size-3 has-text-blue m-0">
<slot></slot>
</h3>
<div>
<h4 class="modal-card-title title is-size-4 has-text-blue m-0">
<slot></slot>
</h4>
</div>
<button
class={{
'modal-close': true,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,13 @@ bal-modal-header {
border-radius: $radius-large !important;
background-color: transparent !important;

.modal-card-head {
word-break: break-word;
}

.modal-card-title {
padding-right: 40px;
line-height: 32px;
}

.modal-close {
Expand Down

0 comments on commit f7ccd46

Please sign in to comment.