mirror of
https://github.com/wukko/cobalt.git
synced 2024-11-15 12:50:01 +00:00
web/SettingsToggle: clean up
This commit is contained in:
parent
ad6539e3bd
commit
0c33ac3a1c
1 changed files with 1 additions and 8 deletions
|
@ -31,9 +31,7 @@
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
>
|
>
|
||||||
<div class="toggle-text">
|
|
||||||
<h4 class="toggle-title">{title}</h4>
|
<h4 class="toggle-title">{title}</h4>
|
||||||
</div>
|
|
||||||
<Toggle enabled={isEnabled} />
|
<Toggle enabled={isEnabled} />
|
||||||
</button>
|
</button>
|
||||||
<!--
|
<!--
|
||||||
|
@ -64,9 +62,4 @@
|
||||||
padding: 8px 16px;
|
padding: 8px 16px;
|
||||||
border-radius: var(--border-radius);
|
border-radius: var(--border-radius);
|
||||||
}
|
}
|
||||||
|
|
||||||
.toggle-text {
|
|
||||||
display: flex;
|
|
||||||
flex-direction: column;
|
|
||||||
}
|
|
||||||
</style>
|
</style>
|
||||||
|
|
Loading…
Reference in a new issue