From ad4994ff0b683bbd496ee2f99e3184e57bc895a3 Mon Sep 17 00:00:00 2001 From: Jeff Atwood Date: Mon, 13 Oct 2014 00:26:13 -0700 Subject: [PATCH] move "easier to tap" topic list paddings to base --- .../stylesheets/common/base/_topic-list.scss | 14 +++++++++++++- app/assets/stylesheets/mobile/topic-list.scss | 17 ++++++++--------- 2 files changed, 21 insertions(+), 10 deletions(-) diff --git a/app/assets/stylesheets/common/base/_topic-list.scss b/app/assets/stylesheets/common/base/_topic-list.scss index b845848c5..fb5647ada 100644 --- a/app/assets/stylesheets/common/base/_topic-list.scss +++ b/app/assets/stylesheets/common/base/_topic-list.scss @@ -50,7 +50,7 @@ .main-link { font-size: 16px; a.title { - padding: 15px 0; + padding: 15px 10px 15px 0; } } @@ -84,6 +84,18 @@ } } + .num.posts { + a { + padding: 15px 5px; + } + } + + .num.activity { + a { + padding: 15px 5px; + } + } + } diff --git a/app/assets/stylesheets/mobile/topic-list.scss b/app/assets/stylesheets/mobile/topic-list.scss index c1eb9cef8..9b1320d29 100644 --- a/app/assets/stylesheets/mobile/topic-list.scss +++ b/app/assets/stylesheets/mobile/topic-list.scss @@ -71,15 +71,6 @@ .num.posts { font-weight: bold; - a { - padding: 15px 10px 15px 5px; - } - } - - .num.activity.last { - a { - padding: 15px 0 15px 5px; - } } .age { @@ -317,4 +308,12 @@ ol.category-breadcrumb { button.dismiss-read { margin-right: 10px; +} + +// base defines extra padding for easier click/top of title field +// this is a bit too much for mobile +td.main-link { + a.title { + padding: 5px 10px 5px 0; + } } \ No newline at end of file