Commit bc498df2 authored by LianaHus's avatar LianaHus

fixed mpuse hover for start section

parent 6efb3f12
...@@ -7,6 +7,7 @@ var css = csjs` ...@@ -7,6 +7,7 @@ var css = csjs`
font-weight: normal; font-weight: normal;
max-width: 300px; max-width: 300px;
user-select: none; user-select: none;
padding-left: 14px;
} }
.text:hover { .text:hover {
font-weight: bold; font-weight: bold;
...@@ -40,7 +41,7 @@ class Section { ...@@ -40,7 +41,7 @@ class Section {
if (this.actions[i].type === `callback`) { if (this.actions[i].type === `callback`) {
sectionLook.appendChild(yo` sectionLook.appendChild(yo`
<div> <div>
<span class="${css.text} p-3 h6 text-dark" onclick=${this.actions[i].payload} > <span class="${css.text} h6 text-dark" onclick=${this.actions[i].payload} >
${this.actions[i].label} ${this.actions[i].label}
</span> </span>
</div> </div>
...@@ -48,7 +49,7 @@ class Section { ...@@ -48,7 +49,7 @@ class Section {
} else if (this.actions[i].type === `link`) { } else if (this.actions[i].type === `link`) {
sectionLook.appendChild(yo` sectionLook.appendChild(yo`
<div > <div >
<a class="${css.link} text-dark p-3 h6 text-decoration-none" href=${this.actions[i].payload} target="_blank" > <a class="${css.link} text-dark h6 text-decoration-none" href=${this.actions[i].payload} target="_blank" >
${this.actions[i].label} ${this.actions[i].label}
</a> </a>
</div> </div>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment