From ed60bdf4703aafa1ac286285b7547643ec009fa9 Mon Sep 17 00:00:00 2001 From: Mihai Adrian <48995920+mcarare@users.noreply.github.com> Date: Tue, 30 Jul 2019 19:24:10 +0300 Subject: [PATCH] fixes #3905 - "Go back" button too low on high risk error pages (#4378) added to border-box value to box-sizing property for tablets so that the height property includes content and padding --- app/src/main/res/raw/high_risk_error_style.css | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/app/src/main/res/raw/high_risk_error_style.css b/app/src/main/res/raw/high_risk_error_style.css index af2624994..a84513735 100644 --- a/app/src/main/res/raw/high_risk_error_style.css +++ b/app/src/main/res/raw/high_risk_error_style.css @@ -188,11 +188,15 @@ div[collapsed="true"] > .expander + * { width: auto; } - /* If the tablet is tall as well, add some padding to make content feel a bit more centered */ + /* If the tablet is tall as well, add some padding to make content feel a bit more centered + border-box value of box-sizing property makes height property include both content and padding */ @media (min-height: 550px) { #errorPageContainer { padding-top: 64px; min-height: calc(100% - 64px); + -webkit-box-sizing: border-box; + -moz-box-sizing: border-box; + box-sizing: border-box; } } }