Refine styles of menus, toasts, popovers, and modals (#12332)

* Refine styles of menus, toasts, popovers, and modals

This is a reintroduction of https://github.com/matrix-org/matrix-react-sdk/pull/12247, with the difference that modal styles have now been refreshed as well.

* Restore the fixed heights of some dialogs

* Fix formatting and flaky screenshot
This commit is contained in:
Robin
2024-03-13 09:38:32 -04:00
committed by GitHub
parent 0f251d8a55
commit 80c4c3c28c
65 changed files with 323 additions and 414 deletions
@@ -14,7 +14,7 @@ exports[`DevtoolsDialog renders the devtools dialog 1`] = `
role="dialog"
>
<div
class="mx_Dialog_header mx_Dialog_headerWithCancel"
class="mx_Dialog_header"
>
<h1
class="mx_Heading_h3 mx_Dialog_title"
@@ -22,13 +22,13 @@ exports[`DevtoolsDialog renders the devtools dialog 1`] = `
>
Developer Tools
</h1>
<div
aria-label="Close dialog"
class="mx_AccessibleButton mx_Dialog_cancelButton"
role="button"
tabindex="0"
/>
</div>
<div
aria-label="Close dialog"
class="mx_AccessibleButton mx_Dialog_cancelButton"
role="button"
tabindex="0"
/>
<div
class="mx_DevTools_label_left"
>