From 11a636021cb81355a37bec0d754996ab30247078 Mon Sep 17 00:00:00 2001 From: Joseph Schorr Date: Thu, 9 Mar 2017 19:26:03 -0500 Subject: [PATCH] Better tag history view on mobile --- static/css/directives/ui/repo-tag-history.css | 25 ++++++++++++++++++- static/directives/repo-tag-history.html | 13 +++++----- 2 files changed, 31 insertions(+), 7 deletions(-) diff --git a/static/css/directives/ui/repo-tag-history.css b/static/css/directives/ui/repo-tag-history.css index 3388a4e3a..b53032c44 100644 --- a/static/css/directives/ui/repo-tag-history.css +++ b/static/css/directives/ui/repo-tag-history.css @@ -90,6 +90,9 @@ float: right; } +.repo-tag-history-element .history-datetime-small { + display: none; +} @media (max-width: 767px) { .repo-tag-history-element .history-list { @@ -104,6 +107,26 @@ float: none; display: block; } + + .repo-tag-history-element .history-entry .history-description { + overflow: visible; + margin-bottom: 10px; + margin-left: 20px; + display: block; + height: auto; + } + + .repo-tag-history-element .history-row { + padding-left: 20px; + } + + .repo-tag-history-element .history-datetime-small { + font-size: 12px; + margin-left: 20px; + margin-top: 10px; + color: #aaa; + display: block; + } } .repo-tag-history-element .history-entry.filtered-mismatch { @@ -241,5 +264,5 @@ } .repo-tag-history-element .history-entry .history-datetime { - font-size: 14px; + font-size: 13px; } \ No newline at end of file diff --git a/static/directives/repo-tag-history.html b/static/directives/repo-tag-history.html index 5a00b55f4..ba756f26a 100644 --- a/static/directives/repo-tag-history.html +++ b/static/directives/repo-tag-history.html @@ -12,11 +12,11 @@ - + - - + + @@ -73,11 +73,12 @@ +
{{ entry.time | amDateFormat:'dddd, MMMM Do YYYY, h:mm:ss a' }}
- -
-
{{ entry.time | amDateFormat:'dddd, MMMM Do YYYY, h:mm:ss a' }}
+
+