web: settings ui & const for settings type options
This commit is contained in:
@@ -1,4 +1,8 @@
|
||||
<div id="switcher-container" class="switcher">
|
||||
<script lang="ts">
|
||||
export let big: boolean = false;
|
||||
</script>
|
||||
|
||||
<div id="switcher-container" class="switcher" class:big={big}>
|
||||
<slot></slot>
|
||||
</div>
|
||||
|
||||
@@ -23,6 +27,11 @@
|
||||
border-bottom-left-radius: 0;
|
||||
}
|
||||
|
||||
.switcher.big :global(.button) {
|
||||
width: 100%;
|
||||
height: 40px;
|
||||
}
|
||||
|
||||
.switcher > :global(:not(.button:first-child):not(.button:last-child)) {
|
||||
border-radius: 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user