From 0117e0aebe90c9f0c9f0d4b0e5884d5c6854096d Mon Sep 17 00:00:00 2001 From: Wingysam Date: Fri, 23 Nov 2018 17:29:40 -0500 Subject: [PATCH] Remove some whitespace --- static/css/main.css | 9 +++++++++ views/layout.pug | 2 +- views/wishlists.pug | 2 +- 3 files changed, 11 insertions(+), 2 deletions(-) diff --git a/static/css/main.css b/static/css/main.css index d268c00..f24aae5 100644 --- a/static/css/main.css +++ b/static/css/main.css @@ -9,6 +9,15 @@ border: none; } +.fullwidth { + width: 100%; + max-width: none; +} + +.noLeftMargin { + margin-left: 0 !important; +} + ul.noStyle li { list-style-type: none; } \ No newline at end of file diff --git a/views/layout.pug b/views/layout.pug index 65dc6ce..d6f1ddf 100644 --- a/views/layout.pug +++ b/views/layout.pug @@ -19,7 +19,7 @@ html(lang='en') include includes/navbar.pug div.content#pageContent section.section - div.container + div.container.is-marginless.fullwidth if title h1= config.siteTitle + ' - ' + title else if title !== false diff --git a/views/wishlists.pug b/views/wishlists.pug index a103501..a110817 100644 --- a/views/wishlists.pug +++ b/views/wishlists.pug @@ -2,7 +2,7 @@ extends layout.pug block content a.button(href=`/wishlist/${req.user._id}`) My Wishlist - ul.noStyle + ul.noStyle.noLeftMargin each user in users if req.user._id !== user.id li