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