Skip to content
Snippets Groups Projects
Commit 7ca27ebd authored by DCoded's avatar DCoded
Browse files

Added .h1 class

parent 502bb893
No related branches found
No related tags found
1 merge request!10141Added headings to Slave Interact
......@@ -95,3 +95,7 @@ dd {
dt::after {
content: ":";
}
.h1 {
font-size: 2em;
}
......@@ -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,
);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment