From dc236f74f5dbd03c211c8a6e9f2313a519d228f7 Mon Sep 17 00:00:00 2001 From: Ali Ghassemi Date: Thu, 22 Sep 2016 13:14:24 -0700 Subject: [PATCH] Revert "Update layout=fill CSS (#4977)" (#5176) This reverts commit a19ec52b24420bc2300e99bd193aa77234f57845. --- css/amp.css | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/css/amp.css b/css/amp.css index 1ddaa5fb6ad3..bdfe25bba93d 100644 --- a/css/amp.css +++ b/css/amp.css @@ -78,9 +78,11 @@ body { .-amp-layout-fill { display: block; overflow: hidden !important; - position: relative; - width: 100%; - height: 100%; + position: absolute; + top: 0; + left: 0; + bottom: 0; + right: 0; } .-amp-layout-flex-item {