From 97f2247ea28f2503aad6b00b0a8612933235f06f Mon Sep 17 00:00:00 2001 From: jake-low Date: Sun, 10 May 2015 17:26:37 -0700 Subject: [PATCH] Fix list overflow for swissen template Based on there4/markdown-resume@ca2e1db; fixes the issue where list items (such as those in the 'skills' section of sample.md) don't align correctly if there's enough of them to wrap past the right margin. Also fixes the width of those list items (there was wasted space on the right before). --- templates/swissen/css/pdf.css | 2 +- templates/swissen/css/resume.css | 1 + templates/swissen/css/screen.css | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/templates/swissen/css/pdf.css b/templates/swissen/css/pdf.css index 29ab7f7..6649672 100644 --- a/templates/swissen/css/pdf.css +++ b/templates/swissen/css/pdf.css @@ -52,7 +52,7 @@ body.pdf { } ul li { - width: 28%; + width: 33.33%; float: left; } ul dl { diff --git a/templates/swissen/css/resume.css b/templates/swissen/css/resume.css index 802de36..8420161 100644 --- a/templates/swissen/css/resume.css +++ b/templates/swissen/css/resume.css @@ -109,6 +109,7 @@ ul { margin: 0; padding: 0; list-style: none; + display: table; } ul li { margin: 0; diff --git a/templates/swissen/css/screen.css b/templates/swissen/css/screen.css index 7078a66..6c1b8f7 100644 --- a/templates/swissen/css/screen.css +++ b/templates/swissen/css/screen.css @@ -91,7 +91,7 @@ } ul li { - width: 28%; + width: 33.33%; float: left; } ul dl {