From eee48d2b2cbc46b50b515fe04053df4dc1e8d854 Mon Sep 17 00:00:00 2001 From: Matt Watson Date: Tue, 28 Jan 2014 18:29:58 -0800 Subject: Fix position of "other categories" button Design specified this should be 1/32 of the screen width away from the left hand side. We don't have a great way to set percentage margins, so just did this at 1080x1920 for now. So 1920/32=60 pixels from the left [endlessm/eos-sdk#519] --- data/css/eos-wikipedia-domain.css | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'data') diff --git a/data/css/eos-wikipedia-domain.css b/data/css/eos-wikipedia-domain.css index e352407..95ca01e 100644 --- a/data/css/eos-wikipedia-domain.css +++ b/data/css/eos-wikipedia-domain.css @@ -130,8 +130,10 @@ Gjs_CategoryButton.clickable .image:hover { } .category-page .back { - padding-left: 25px; - padding-right: 25px; + /* button image should be 60px from the right. image needs 15 px padding for + * background glow, so we pad by 45 here */ + padding-left: 45px; + padding-right: 45px; } Gjs_BackButton { -- cgit v1.2.3