Skip to content
Snippets Groups Projects
Commit 560cb009 authored by DCoded's avatar DCoded
Browse files

Moved description options link to bottom, added space between star and name

parent 0fef893a
No related branches found
No related tags found
1 merge request!10141Added headings to Slave Interact
......@@ -5,14 +5,15 @@ App.UI.SlaveInteract.description = function(slave) {
descriptionLink.id = "description-link";
if (V.seeDetails === 1) {
descriptionLink.append(showOptions());
el.append(descriptionLink);
const descriptionOptions = document.createElement("div");
descriptionOptions.id = "description-options";
el.append(descriptionOptions);
el.append(App.Desc.longSlave(slave, {noArt: true}));
descriptionLink.append(showOptions());
el.append(descriptionLink);
} else {
descriptionLink.append(
App.UI.DOM.link(
......
......@@ -21,7 +21,7 @@ App.UI.SlaveInteract.navigation = function(slave) {
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 favorite = App.UI.DOM.makeElement("span", App.UI.favoriteToggle(slave));
const favorite = App.UI.DOM.makeElement("span", App.UI.favoriteToggle(slave), ['margin-left']);
name.style.display = 'inline-block';
......@@ -39,11 +39,11 @@ App.UI.SlaveInteract.navigation = function(slave) {
() => { V.AS = placeInLine[1]; }), ["adjacent-slave"]),
App.UI.DOM.makeElement("span", App.UI.Hotkeys.hotkeys("next-slave"), ['hotkey']),
);
name.append(` `, favorite);
div.append(
previous,
name,
favorite,
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