generated from Seekra/repository-template
Feat(settings): add renderer for settings configuration #142
@@ -42,7 +42,7 @@ const toggle = function toggle () {
|
|||||||
|
|
||||||
<template>
|
<template>
|
||||||
<div class="switch-container" @click="toggle">
|
<div class="switch-container" @click="toggle">
|
||||||
<label :for="switchId" :id="labelId">
|
<label :for="switchId" :id="labelId" class="switch-label">
|
||||||
{{ t(props.setting.i18n) }}
|
{{ t(props.setting.i18n) }}
|
||||||
</label>
|
</label>
|
||||||
<div
|
<div
|
||||||
@@ -66,6 +66,10 @@ const toggle = function toggle () {
|
|||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.switch-label {
|
||||||
|
cursor: inherit;
|
||||||
|
}
|
||||||
|
|
||||||
.switch-wrapper {
|
.switch-wrapper {
|
||||||
--point-size: 0.9em;
|
--point-size: 0.9em;
|
||||||
--padding: 2px;
|
--padding: 2px;
|
||||||
|
|||||||
Reference in New Issue
Block a user