Fix messages with "html { height: 100%; }" set getting 1px-high views.
Partially reverts commit d4e2b84. * ui/conversation-web-view.css: Reinstate triggering CSS 2.1 § 10.6.7. for the HTML element.
This commit is contained in:
parent
5624269386
commit
7f75a7e944
1 changed files with 16 additions and 0 deletions
|
|
@ -10,6 +10,22 @@
|
||||||
transition: height 0.25s !important;
|
transition: height 0.25s !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
html {
|
||||||
|
/* Trigger CSS 2.1 § 10.6.7 to get a shrink-wrapped height. */
|
||||||
|
position: absolute !important;
|
||||||
|
top: 0 !important;
|
||||||
|
bottom: auto !important;
|
||||||
|
height: auto !important;
|
||||||
|
|
||||||
|
/* Fix up the width after going to absolute positioning above. */
|
||||||
|
width: 100%;
|
||||||
|
|
||||||
|
/* Lock down the box just enough so we don't get an incrementally
|
||||||
|
expanding web view */
|
||||||
|
box-sizing: border-box !important;
|
||||||
|
margin: 0 !important;
|
||||||
|
}
|
||||||
|
|
||||||
body {
|
body {
|
||||||
margin: 12px;
|
margin: 12px;
|
||||||
border: 0;
|
border: 0;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue