Skip to content

Commit

Permalink
fix(core): dialog has padding for close button event when not closeab…
Browse files Browse the repository at this point in the history
…le (#10018)
  • Loading branch information
splincode authored Dec 18, 2024
1 parent 8920ad3 commit b74300e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
5 changes: 4 additions & 1 deletion projects/core/components/dialog/dialog.style.less
Original file line number Diff line number Diff line change
Expand Up @@ -106,10 +106,13 @@

.t-heading {
margin: 0;
padding-inline-end: 2rem;
word-wrap: break-word;
font: var(--tui-font-heading-3);

&_closable {
padding-inline-end: 2rem;
}

&:empty {
display: none;
}
Expand Down
1 change: 1 addition & 0 deletions projects/core/components/dialog/dialog.template.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
<div class="t-content">
<h2
class="t-heading"
[class.t-heading_closable]="context.closeable"
[id]="context.id"
[textContent]="context.label"
></h2>
Expand Down

0 comments on commit b74300e

Please sign in to comment.