diff options
author | Alex Legler <alex@a3li.li> | 2014-04-17 18:45:15 +0200 |
---|---|---|
committer | Alex Legler <alex@a3li.li> | 2014-04-17 18:45:15 +0200 |
commit | a1a617007788faa5e49a68a46bd43a331cd05d88 (patch) | |
tree | 15f065448f9995625ec8afad514e1d0470713ad4 /views | |
parent | Notice footer rework (diff) | |
download | infra-status-a1a617007788faa5e49a68a46bd43a331cd05d88.tar.gz infra-status-a1a617007788faa5e49a68a46bd43a331cd05d88.tar.bz2 infra-status-a1a617007788faa5e49a68a46bd43a331cd05d88.zip |
Right-align ETA in desktop browsers.
TODO: Push this to tyrian
Diffstat (limited to 'views')
-rw-r--r-- | views/layout.erb | 7 | ||||
-rw-r--r-- | views/notice.erb | 2 |
2 files changed, 8 insertions, 1 deletions
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' %> |