D3vugu-components/components/overlay/modal-requester.vugu
David Vogel 852fd54082 Remove margin from input elements
- Remove margin from button
- Remove margin from dropdown
- Remove margin from input field
- Remove margin from sidebar entry
- Remove unnecessary margin: 0 definitions
- Fix sidebar due to removed button margin
- Replace modal requester paragraph with span
- Replace simple toast paragraph with span
2023-05-27 23:48:57 +02:00

28 lines
787 B
Plaintext

<div>
<layout:Container>
<div class="d3c-1684441516-flex">
<vg-comp expr="c.IconSlot"></vg-comp>
<span vg-content="c.Message" style="white-space: pre-wrap;"></span>
</div>
<div class="d3c-1684441516-flex" style="justify-content: flex-end; align-items: baseline;">
<input:Button vg-if="c.ClickAbort != nil" @Click="c.handleClickAbort(event)">Abort</input:Button>
<input:Button vg-if="c.ClickYes != nil" @Click="c.handleClickYes(event)">Yes</input:Button>
</div>
</layout:Container>
</div>
<style>
.d3c-1684441516-flex {
margin: 0.5em 0;
display: flex;
gap: 0.5em;
}
</style>
<script type="application/x-go">
import (
"git.d3nexus.de/Dadido3/D3vugu-components/components/input"
"git.d3nexus.de/Dadido3/D3vugu-components/components/layout"
)
</script>