commit:     a1a617007788faa5e49a68a46bd43a331cd05d88
Author:     Alex Legler <alex <AT> a3li <DOT> li>
AuthorDate: Thu Apr 17 16:45:15 2014 +0000
Commit:     Alex Legler <a3li <AT> gentoo <DOT> org>
CommitDate: Thu Apr 17 16:45:15 2014 +0000
URL:        
http://git.overlays.gentoo.org/gitweb/?p=proj/infra-status.git;a=commit;h=a1a61700

Right-align ETA in desktop browsers.

TODO: Push this to tyrian

---
 views/layout.erb | 7 +++++++
 views/notice.erb | 2 +-
 2 files changed, 8 insertions(+), 1 deletion(-)

diff --git a/views/layout.erb b/views/layout.erb
index c31a71a..338f620 100644
--- a/views/layout.erb
+++ b/views/layout.erb
@@ -7,6 +7,13 @@
   <meta name="description" content="">
   <link href="/assets/css/bootstrap.css" rel="stylesheet" media="screen">
   <link rel="icon" href="http://www.gentoo.org/favicon.ico"; 
type="image/x-icon">
+  <style type="text/css">
+    @media (min-width: 1200px) {
+      .text-right-lg {
+        text-align: right;
+      }
+    }
+  </style>
 </head>
 <body>
 <header>

diff --git a/views/notice.erb b/views/notice.erb
index 5a91342..9b1ff11 100644
--- a/views/notice.erb
+++ b/views/notice.erb
@@ -26,7 +26,7 @@
       <% else %>
         <div class="col-sm-4"></div>
       <% end %>
-      <div class="col-sm-4 has-tooltip" data-toggle="tooltip" 
data-placement="top" title="Estimated time of service recovery">
+      <div class="col-sm-4 has-tooltip text-right-lg" data-toggle="tooltip" 
data-placement="top" title="Estimated time of service recovery">
         <span class="glyphicon glyphicon-ok pull-left" title="Estimated time 
of service recovery"></span>
         <div style="margin-left: 1.25em;">
           <% if notice.has_key? 'eta' %>

Reply via email to