From 8eba5db4e3391c5583daa04bec4f32856104e57f Mon Sep 17 00:00:00 2001 From: "Milos Brzakovic (E-Search)" Date: Thu, 2 Dec 2021 14:10:08 +0100 Subject: [PATCH] polish h2 .css, center header in shortcuts --- css/80_app.css | 6 ++---- modules/ui/shortcuts.js | 2 +- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/css/80_app.css b/css/80_app.css index c16a99c53..c464c8d87 100644 --- a/css/80_app.css +++ b/css/80_app.css @@ -81,16 +81,14 @@ h2 { font-weight: bold; margin-bottom: 20px; } -.header h2, -.modal-section h2 { +.header h2 { font-size: 20px; line-height: 1.25; font-weight: bold; - margin-bottom: 10px; + margin-bottom: 0px; } h3:last-child, -h2:last-child, h4:last-child { margin-bottom: 0;} h3 { diff --git a/modules/ui/shortcuts.js b/modules/ui/shortcuts.js index 9a1da42d6..4b139e638 100644 --- a/modules/ui/shortcuts.js +++ b/modules/ui/shortcuts.js @@ -25,7 +25,7 @@ export function uiShortcuts(context) { content .append('div') - .attr('class', 'modal-section') + .attr('class', 'modal-section header') .append('h2') .html(t.html('shortcuts.title'));