From 7ca27ebd74f7732b73f776994bf7c045d32eab33 Mon Sep 17 00:00:00 2001
From: DCoded <dicoded@email.com>
Date: Sat, 21 Aug 2021 09:21:43 -0400
Subject: [PATCH] Added .h1 class

---
 css/general/formatting.css      | 4 ++++
 src/interaction/siNavigation.js | 8 +++-----
 2 files changed, 7 insertions(+), 5 deletions(-)

diff --git a/css/general/formatting.css b/css/general/formatting.css
index 9f08b1b2ffd..75d81a5e152 100644
--- a/css/general/formatting.css
+++ b/css/general/formatting.css
@@ -95,3 +95,7 @@ dd {
 dt::after {
     content: ":";
 }
+
+.h1 {
+    font-size: 2em;
+}
diff --git a/src/interaction/siNavigation.js b/src/interaction/siNavigation.js
index 210a8d8c093..c3c7b95432a 100644
--- a/src/interaction/siNavigation.js
+++ b/src/interaction/siNavigation.js
@@ -20,7 +20,7 @@ App.UI.SlaveInteract.navigation = function(slave) {
 	const div = App.UI.DOM.appendNewElement("div", p, null);
 	const previous = App.UI.DOM.makeElement("span", null, ['adjacent-slave', 'margin-right']);
 	const next = App.UI.DOM.makeElement("span", null, ['adjacent-slave', 'margin-left']);
-	const name = App.UI.DOM.makeElement("h1", slave.slaveName, ['slave-name']);
+	const name = App.UI.DOM.makeElement("h1", slave.slaveName, ['slave-name', 'h1']);
 
 	name.style.display = 'inline-block';
 
@@ -44,13 +44,11 @@ App.UI.SlaveInteract.navigation = function(slave) {
 
 		frag.append(
 			previous,
-			App.UI.DOM.makeElement("span", App.UI.favoriteToggle(slave, () => {
-				App.UI.DOM.replace(div, content());
-			}), ['margin-right']),
 			name,
+			' ',
 			App.UI.DOM.makeElement("span", App.UI.favoriteToggle(slave, () => {
 				App.UI.DOM.replace(div, content());
-			}), ['margin-left']),
+			}), ['h1']),
 			next,
 		);
 
-- 
GitLab