D3vugu-components/components/navigation/pagination.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

32 lines
1.0 KiB
Plaintext

<div vg-attr='utils.AttributesAppend{AttrMap: c.AttrMap, Classes: "d3c-1684167638"}'>
<input:Button @Click="c.handleClickPrev(event)"><vg-slot name="IconSlot"><icons:LChevronLeft></icons:LChevronLeft></vg-slot></input:Button>
<input:Button @Click="c.handleClickNext(event)"><vg-slot name="IconSlot"><icons:LChevronRight></icons:LChevronRight></vg-slot></input:Button>
<input:Button vg-for='_, button := range c.buttons' :class="button.Class" @Click="c.handleClickPage(event, button.Page)"><div vg-content="button.Page"></div></input:Button>
</div>
<style>
.d3c-1684167638 {
display: flex;
flex-wrap: wrap;
gap: 0.5em;
margin: 0.5em 0;
/*border-radius: 4px;
border: 1px solid var(--d3c-color-border);*/
/*width: min-content;*/
/*overflow: hidden;*/
}
.d3c-1684167638 > * {
min-width: 2em;
text-align: center;
}
</style>
<script type="application/x-go">
import (
"git.d3nexus.de/Dadido3/D3vugu-components/components/input"
"git.d3nexus.de/Dadido3/D3vugu-components/icons"
"git.d3nexus.de/Dadido3/D3vugu-components/utils"
)
</script>