client: Always load email once view is mapped
Remove CSS width workaround. Fix #283 #1205
This commit is contained in:
parent
d47e357b2c
commit
40a2c1aec4
6 changed files with 69 additions and 38 deletions
|
|
@ -23,15 +23,6 @@ html {
|
|||
width: 100vw !important;
|
||||
height: max-content !important;
|
||||
|
||||
/* Despite the fact that the width must always be defined by the
|
||||
viewport, the viewport width will be 0 if the email is loaded before
|
||||
its WebView is laid out in the widget hierarchy. As a workaround, to
|
||||
prevent this causing the email being squished down to is minimum
|
||||
width and hence being stretched right out in height, set a
|
||||
reasonable minimum width. See
|
||||
https://gitlab.gnome.org/GNOME/geary/-/issues/283 */
|
||||
min-width: 400px !important;
|
||||
|
||||
/* Lock down the box sizing just enough so that the width and height
|
||||
constraints above work as expected, and so the element's
|
||||
scrollHeight is accurate. */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue