You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@whimsical.apache.org by ru...@apache.org on 2016/05/17 01:31:35 UTC
[whimsy] branch master updated: tweak css for mobile devices
This is an automated email from the ASF dual-hosted git repository.
rubys pushed a commit to branch master
in repository https://git-dual.apache.org/repos/asf/whimsy.git
The following commit(s) were added to refs/heads/master by this push:
new db47a28 tweak css for mobile devices
db47a28 is described below
commit db47a289087076018be4d4f2efcfe2d3fbaf2c02
Author: Sam Ruby <ru...@intertwingly.net>
AuthorDate: Mon May 16 21:31:25 2016 -0400
tweak css for mobile devices
---
www/board/agenda/public/stylesheets/app.css | 15 +++++++++++++++
www/board/agenda/views/main.html.rb | 1 +
2 files changed, 16 insertions(+)
diff --git a/www/board/agenda/public/stylesheets/app.css b/www/board/agenda/public/stylesheets/app.css
index 8869678..1849a0a 100644
--- a/www/board/agenda/public/stylesheets/app.css
+++ b/www/board/agenda/public/stylesheets/app.css
@@ -228,6 +228,18 @@ main hr {
border-color: #DDD;
}
+.table-bordered {
+ width: 100%;
+}
+
+.table-bordered tr {
+ line-height: 200%;
+}
+
+.table-bordered td {
+ padding: 4px;
+}
+
@media screen and (min-width: 768px) {
.wide-form .modal-dialog {
width: 80%;
@@ -235,6 +247,9 @@ main hr {
.wide-form .modal-footer {
margin-top: 0
}
+ .table-bordered {
+ width: auto;
+ }
}
#new-actions pre {
diff --git a/www/board/agenda/views/main.html.rb b/www/board/agenda/views/main.html.rb
index 3547674..e2b4280 100644
--- a/www/board/agenda/views/main.html.rb
+++ b/www/board/agenda/views/main.html.rb
@@ -6,6 +6,7 @@ _html do
_base href: @base
_title 'ASF Board Agenda'
_link rel: 'stylesheet', href: "../stylesheets/app.css?#{@cssmtime}"
+ _meta name: 'viewport', content: 'width=device-width, initial-scale=1.0'
_div_.main!
--
To stop receiving notification emails like this one, please contact
['"commits@whimsical.apache.org" <co...@whimsical.apache.org>'].