allura-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From brond...@apache.org
Subject allura git commit: [#5867] proper table widths in comments and markdown preview
Date Tue, 20 Dec 2016 16:31:40 GMT
Repository: allura
Updated Branches:
  refs/heads/db/5867 [created] bce5d2976


[#5867] proper table widths in comments and markdown preview


Project: http://git-wip-us.apache.org/repos/asf/allura/repo
Commit: http://git-wip-us.apache.org/repos/asf/allura/commit/bce5d297
Tree: http://git-wip-us.apache.org/repos/asf/allura/tree/bce5d297
Diff: http://git-wip-us.apache.org/repos/asf/allura/diff/bce5d297

Branch: refs/heads/db/5867
Commit: bce5d297610f3efb7d919381e48d68e3a7f9b3ae
Parents: ea5b4e3
Author: Dave Brondsema <dave@brondsema.net>
Authored: Tue Dec 20 11:31:35 2016 -0500
Committer: Dave Brondsema <dave@brondsema.net>
Committed: Tue Dec 20 11:31:35 2016 -0500

----------------------------------------------------------------------
 Allura/allura/nf/allura/css/site_style.css | 5 +++++
 1 file changed, 5 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/allura/blob/bce5d297/Allura/allura/nf/allura/css/site_style.css
----------------------------------------------------------------------
diff --git a/Allura/allura/nf/allura/css/site_style.css b/Allura/allura/nf/allura/css/site_style.css
index 026d902..ce73d02 100644
--- a/Allura/allura/nf/allura/css/site_style.css
+++ b/Allura/allura/nf/allura/css/site_style.css
@@ -1974,6 +1974,11 @@ a.sidebar-disabled:focus {
   width: 765px;
   margin-left: 10px;
 }
+/* cancel out ".pad table" styles in smaller contexts, it really only works when its not
nested inside anything */
+.pad #comment table, .pad .markdown_edit table {
+  width: 100%;
+  margin-left: inherit;
+}
 .pad p, .pad h1, .pad h2, .pad h3, .pad h4, .pad h5, .pad h6 {
   padding: 0 10px 1em;
   margin-bottom: 0;


Mime
View raw message