mirror of
https://github.com/openfrontio/OpenFrontIO.git
synced 2026-06-22 22:15:22 +00:00
Add close button to emoji table (#1479)
## Description: Add a close button for the Emoji table, and switch the modal to TailWind. <img width="698" height="1161" alt="image" src="https://github.com/user-attachments/assets/45c998d8-e584-4d83-9177-036679828586" /> https://github.com/user-attachments/assets/999baf1b-1cdb-409c-a1f0-12d8298dc638 ## Please complete the following: - [x] I have added screenshots for all UI updates - [x] I process any text displayed to the user through translateText() and I've added it to the en.json file - [x] I have added relevant tests to the test directory - [x] I confirm I have thoroughly tested these changes and take full responsibility for any bugs introduced - [x] I have read and accepted the CLA aggreement (only required once). ## Please put your Discord username so you can be contacted if a bug or regression is found: IngloriousTom
This commit is contained in:
@@ -79,7 +79,7 @@ export class OModal extends LitElement {
|
||||
${`${this.translationKey}` === ""
|
||||
? `${this.title}`
|
||||
: `${translateText(this.translationKey)}`}
|
||||
<div class="c-modal__close" @click=${this.close}>X</div>
|
||||
<div class="c-modal__close" @click=${this.close}>✕</div>
|
||||
</header>
|
||||
<section class="c-modal__content">
|
||||
<slot></slot>
|
||||
|
||||
Reference in New Issue
Block a user