[RFC,selinux-notebook PATCH 02/18] css: identify table layout hacks

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Better identify, and tweak, some of the table layout hacks so that
we know to revisit them later once we have fully converted to
markdown.

Signed-off-by: Paul Moore <paul@xxxxxxxxxxxxxx>
---
 src/styles_html.css |    1 -
 src/styles_pdf.css  |    6 +++++-
 2 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/src/styles_html.css b/src/styles_html.css
index ea3f7ee..887051c 100644
--- a/src/styles_html.css
+++ b/src/styles_html.css
@@ -21,7 +21,6 @@ table {
 }
 table tr, th, td {
 	border: 1px solid black;
-	word-wrap: break-word;
 }
 
 img {
diff --git a/src/styles_pdf.css b/src/styles_pdf.css
index 48da310..5fa9d02 100644
--- a/src/styles_pdf.css
+++ b/src/styles_pdf.css
@@ -62,12 +62,16 @@ table {
 	margin-left: auto;
 	margin-right: auto;
 	width: 95%;
-	table-layout: fixed;
 	/* combine table borders when they are adjacent */
 	border-collapse: collapse;
+	/* TODO: once we finish the HTML->Markdown conversion we should
+	 *       revaluate the 'table-layout: fixed' hack below */
+	table-layout: fixed;
 }
 table tr, th, td {
 	border: 1px solid black;
+	/* TODO: once we finish the HTML->Markdown conversion we should
+	 *       revaluate the 'word-wrap: break-word' hack below */
 	word-wrap: break-word;
 }
 




[Index of Archives]     [Selinux Refpolicy]     [Linux SGX]     [Fedora Users]     [Fedora Desktop]     [Yosemite Photos]     [Yosemite Camping]     [Yosemite Campsites]     [KDE Users]     [Gnome Users]

  Powered by Linux