From ca2e1db998d462842555a740b0b5e815e1891c90 Mon Sep 17 00:00:00 2001 From: Scott Weldon Date: Mon, 16 Mar 2015 19:37:11 -0700 Subject: [PATCH] Fix list overflow for modern template This fixes the tendency of large lists to flow past the section header and cause the columns of the list to not be aligned correctly. This also fixes an issue with the spacing between the end of said lists and `
`s. --- templates/modern/css/pdf.css | 2 +- templates/modern/css/resume.css | 1 + templates/modern/css/screen.css | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/templates/modern/css/pdf.css b/templates/modern/css/pdf.css index 5e28acd..49afb7e 100644 --- a/templates/modern/css/pdf.css +++ b/templates/modern/css/pdf.css @@ -54,7 +54,7 @@ body.pdf { } ul li { - width: 26%; + width: 33%; float: left; } ul dl { diff --git a/templates/modern/css/resume.css b/templates/modern/css/resume.css index 817d0fe..e8dad80 100644 --- a/templates/modern/css/resume.css +++ b/templates/modern/css/resume.css @@ -102,6 +102,7 @@ ul { margin: 0; padding: 0; list-style: none; + display: table; } ul li { margin: 0; diff --git a/templates/modern/css/screen.css b/templates/modern/css/screen.css index 69f8795..c15711d 100644 --- a/templates/modern/css/screen.css +++ b/templates/modern/css/screen.css @@ -95,7 +95,7 @@ } ul li { - width: 25%; + width: 33%; float: left; } ul dl {