Skip to content

Commit

Permalink
feat(css): wider verification modale, move to tchap custom instead of…
Browse files Browse the repository at this point in the history
… react-sdk css
  • Loading branch information
marc.sirisak committed Oct 24, 2024
1 parent 936f26f commit ef48173
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,6 @@ Please see LICENSE files in the repository root for full details.
*/

.mx_CompleteSecurityBody {
/* :TCHAP: cross-signing-ui
width: 600px;
*/
width: 660px;
/* end :TCHAP: */

color: $authpage-primary-color;
background-color: $background;
border-radius: 4px;
Expand Down
8 changes: 2 additions & 6 deletions modules/tchap-translations/tchap_translations.json
Original file line number Diff line number Diff line change
Expand Up @@ -879,11 +879,7 @@
"fr": "ProConnect est désactivé pour votre domaine"
},
"encryption|verification|help_link": {
"en": "<a>Learn more and get help<a>",
"fr": "<a>En savoir plus et obtenir de l'aide <a>"
},
"encryption|verification|help_button": {
"en": "<a>Help<a>",
"fr": "<a>Aide <a>"
"en": "<a>Learn more and get help</a>",
"fr": "<a>En savoir plus et obtenir de l'aide </a>"
}
}
5 changes: 5 additions & 0 deletions res/themes/tchap-common/css/_tchap_custom.pcss
Original file line number Diff line number Diff line change
Expand Up @@ -72,4 +72,9 @@
.mx_AuthBody_text .mx_ErrorMessage {
margin-top: 10px;
font-weight: bold;
}

/* help-access-verify-device added help button, so need to have wider width to avoid double line text in other buttons */
.mx_CompleteSecurityBody {
width: 726px;
}

0 comments on commit ef48173

Please sign in to comment.