Remove <br> above open-welcom-message

Use Tailwind Class styles instead.
This commit is contained in:
Tobias 2021-01-20 21:26:29 +01:00
parent 3b385c56e3
commit d3b39fbe54
3 changed files with 5 additions and 8 deletions

View file

@ -260,7 +260,7 @@ export class InitUiElements {
const fullOptions = new FullWelcomePaneWithTabs();
const help = Svg.help_svg().SetClass("open-welcome-button");
const help = Svg.help_svg().SetClass("open-welcome-button block");
const close = Svg.close_svg().SetClass("close-welcome-button");
const checkbox = new CheckBox(
new Combine([
@ -295,8 +295,7 @@ export class InitUiElements {
}
Svg.help_svg()
.SetClass("open-welcome-button")
.SetClass("shadow")
.SetClass("open-welcome-button block shadow")
.onClick(() => {
State.state.fullScreenMessage.setData({content: fullOptions2, hashText: "welcome"})
}).AttachTo("help-button-mobile");

View file

@ -342,7 +342,6 @@ a {
}
.open-welcome-button {
display: inline-block;
box-sizing: border-box;
background: var(--subtle-detail-color);
color: var(--foreground-color);

View file

@ -54,7 +54,6 @@
<div id="searchbox" class="shadow"></div>
</div>
<div id="messagesbox"></div>
<br/>
<div id="help-button-mobile"></div>
</div>