From 12ba0699d7086ec25bf5f4965950c2f381a5227e Mon Sep 17 00:00:00 2001 From: Andreas Sumerauer Date: Sun, 10 Jan 2021 08:40:12 +0100 Subject: [PATCH] Fix for the safari browser tile image positioning problem. (#518) Co-authored-by: Andreas --- .../resources/templates/black/styles/template.css | 3 +-- .../resources/templates/white/styles/template.css | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/org.adempiere.server/resources/templates/black/styles/template.css b/org.adempiere.server/resources/templates/black/styles/template.css index c1f47d8f10..5fa2f3440a 100644 --- a/org.adempiere.server/resources/templates/black/styles/template.css +++ b/org.adempiere.server/resources/templates/black/styles/template.css @@ -110,8 +110,7 @@ div.body{ } #main-docuBtns ul li > a > img { position: relative; - top: 50%; - transform: translate(0%,-45%); + transform: translate(0%,5%); } .main-txt-btn { padding-top:2px; diff --git a/org.adempiere.server/resources/templates/white/styles/template.css b/org.adempiere.server/resources/templates/white/styles/template.css index f357b3991e..11538dd476 100644 --- a/org.adempiere.server/resources/templates/white/styles/template.css +++ b/org.adempiere.server/resources/templates/white/styles/template.css @@ -100,8 +100,7 @@ div.body{ } #main-docuBtns ul li > a > img { position: relative; - top: 50%; - transform: translate(0%,-45%); + transform: translate(0%,5%); } .main-txt-btn { padding-top:2px;