From b6b093850aca562ff757ac2d43104e7fd99cf76e Mon Sep 17 00:00:00 2001 From: leigh-mil Date: Tue, 11 Feb 2020 10:56:16 -0500 Subject: [PATCH 1/2] Add div with col class around the div.row that contains the header links. Remove display:table from the .col styling --- styles/components/_portfolio_layout.scss | 1 - templates/portfolios/header.html | 59 ++++++++++++------------ 2 files changed, 30 insertions(+), 30 deletions(-) diff --git a/styles/components/_portfolio_layout.scss b/styles/components/_portfolio_layout.scss index 06fecf63..1fb8a9b6 100644 --- a/styles/components/_portfolio_layout.scss +++ b/styles/components/_portfolio_layout.scss @@ -20,7 +20,6 @@ .col--grow { overflow: inherit; - display: table; min-height: 10rem; } diff --git a/templates/portfolios/header.html b/templates/portfolios/header.html index 71d9a550..5280ee1c 100644 --- a/templates/portfolios/header.html +++ b/templates/portfolios/header.html @@ -17,36 +17,37 @@

{{ portfolio.name }}

- From 541aa965fb0a0778ccde62bce75fded199075056 Mon Sep 17 00:00:00 2001 From: leigh-mil Date: Tue, 11 Feb 2020 11:08:35 -0500 Subject: [PATCH 2/2] Center portfolio name vertically --- styles/components/_portfolio_layout.scss | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/styles/components/_portfolio_layout.scss b/styles/components/_portfolio_layout.scss index 1fb8a9b6..e9af6d5e 100644 --- a/styles/components/_portfolio_layout.scss +++ b/styles/components/_portfolio_layout.scss @@ -20,13 +20,11 @@ .col--grow { overflow: inherit; - min-height: 10rem; + align-self: center; } &__name { @include h1; - display: table-cell; - vertical-align: middle; h1 { margin: 0;