Skip to content
This repository has been archived by the owner on Dec 20, 2024. It is now read-only.

Commit

Permalink
Add overflow/ellipsis to dialog modal titles
Browse files Browse the repository at this point in the history
  • Loading branch information
jmar910 committed Sep 21, 2022
1 parent 05d6671 commit b1753ba
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions addon/components/mxa/modal-dialog.hbs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Mxa::Modal @onDismiss={{@onDismiss}} data-test-modal>
<Mxa::DialogCard
class="inline-block align-bottom bg-white border border-slate-20 text-left overflow-visible transform transition-all w-container sm:my-8 sm:align-middle sm:max-w-3xl
{{if @isWide "sm:w-container" "sm:w-box"}}"
{{if @isWide 'sm:w-container' 'sm:w-box'}}"
role="dialog"
aria-modal="true"
aria-labelledby={{this.titleId}}
Expand Down Expand Up @@ -34,7 +34,7 @@
{{#if @title}}
<h2
id={{this.titleId}}
class="text-gray-900 font-semibold text-2xl mb-8"
class="text-gray-900 font-semibold text-2xl mb-8 overflow-hidden text-ellipsis"
data-test-modal-dialog-title
>{{@title}}</h2>
{{/if}}
Expand Down

0 comments on commit b1753ba

Please sign in to comment.