From c006ef628948abbf2fedd9e2d78e737a479050f6 Mon Sep 17 00:00:00 2001 From: lkassianik Date: Mon, 18 May 2015 13:59:23 -0700 Subject: [PATCH] Tweaking css to better accomodate month view week numbers on mobile. Summary: Fixes T8249, Tweaking css to better accomodate month view week numbers on mobile. Test Plan: Open month view on mobile and observe that week and day numbers are aligned. Reviewers: chad, epriestley, #blessed_reviewers Reviewed By: epriestley, #blessed_reviewers Subscribers: Korvin, epriestley Maniphest Tasks: T8249 Differential Revision: https://secure.phabricator.com/D12910 --- resources/celerity/map.php | 4 ++-- webroot/rsrc/css/phui/calendar/phui-calendar-month.css | 9 +++++++-- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/resources/celerity/map.php b/resources/celerity/map.php index 54000b66cf..3f58140cad 100644 --- a/resources/celerity/map.php +++ b/resources/celerity/map.php @@ -122,7 +122,7 @@ return array( 'rsrc/css/layout/phabricator-source-code-view.css' => '2ceee894', 'rsrc/css/phui/calendar/phui-calendar-day.css' => '3b4a65d8', 'rsrc/css/phui/calendar/phui-calendar-list.css' => '3e713fc7', - 'rsrc/css/phui/calendar/phui-calendar-month.css' => '7cf00f61', + 'rsrc/css/phui/calendar/phui-calendar-month.css' => '017a953b', 'rsrc/css/phui/calendar/phui-calendar.css' => '8345be98', 'rsrc/css/phui/phui-action-header-view.css' => '89c497e7', 'rsrc/css/phui/phui-action-list.css' => '4f4d09f2', @@ -763,7 +763,7 @@ return array( 'phui-calendar-css' => '8345be98', 'phui-calendar-day-css' => '3b4a65d8', 'phui-calendar-list-css' => '3e713fc7', - 'phui-calendar-month-css' => '7cf00f61', + 'phui-calendar-month-css' => '017a953b', 'phui-crumbs-view-css' => '594d719e', 'phui-document-view-css' => '94d5dcd8', 'phui-feed-story-css' => 'c9f3a0b5', diff --git a/webroot/rsrc/css/phui/calendar/phui-calendar-month.css b/webroot/rsrc/css/phui/calendar/phui-calendar-month.css index bb02c4c54d..43c9af18cf 100644 --- a/webroot/rsrc/css/phui/calendar/phui-calendar-month.css +++ b/webroot/rsrc/css/phui/calendar/phui-calendar-month.css @@ -98,7 +98,7 @@ table.phui-calendar-view a.phui-calendar-week-number { color: {$lightgreyborder}; padding: 4px; display: inline-block; - min-width: 16px; + width: 16px; text-align: center; float: left; } @@ -107,10 +107,15 @@ table.phui-calendar-view a.phui-calendar-date-number { color: {$lightgreytext}; padding: 4px; display: inline-block; - min-width: 16px; + width: 16px; text-align: center; } +.device table.phui-calendar-view a.phui-calendar-week-number, +.device table.phui-calendar-view a.phui-calendar-date-number { + width: 12px; +} + table.phui-calendar-view td.phui-calendar-date-number-container { font-weight: normal; color: {$lightgreytext};