From 7a3f3732dd1f03117d1f76fdbc4ca3e538768ab1 Mon Sep 17 00:00:00 2001 From: Quincy Morgan <2046746+quincylvania@users.noreply.github.com> Date: Thu, 24 Sep 2020 10:33:55 -0400 Subject: [PATCH] Fix save sidebar header styling --- css/80_app.css | 19 ------------------- modules/ui/commit.js | 9 +-------- 2 files changed, 1 insertion(+), 27 deletions(-) diff --git a/css/80_app.css b/css/80_app.css index 3a8625d65..7edede7b6 100644 --- a/css/80_app.css +++ b/css/80_app.css @@ -746,25 +746,6 @@ button.add-note svg.icon { justify-content: center; } -.header-container { - display: flex; - justify-content: space-between; -} - -.header-block { - display: flex; - align-items: center; -} -.header-block-outer { - width: 20%; -} - -.header-block-close { - display: flex; - justify-content: flex-end; - height: 100%; -} - /* Hide/Toggle collapsible sections (aka Disclosure) ------------------------------------------------------- */ .hide-toggle .icon.pre-text { diff --git a/modules/ui/commit.js b/modules/ui/commit.js index c7a894920..e3ad030cb 100644 --- a/modules/ui/commit.js +++ b/modules/ui/commit.js @@ -213,21 +213,14 @@ export function uiCommit(context) { var headerTitle = header.enter() .append('div') - .attr('class', 'header fillL header-container'); + .attr('class', 'header fillL'); headerTitle .append('div') - .attr('class', 'header-block header-block-outer'); - - headerTitle - .append('div') - .attr('class', 'header-block') .append('h3') .html(t.html('commit.title')); headerTitle - .append('div') - .attr('class', 'header-block header-block-outer header-block-close') .append('button') .attr('class', 'close') .on('click', function() {