Fix button borders in dark theme

remotes/1693176582716663532/tmp_refs/heads/watchparty
Outrun Colors 2022-09-24 22:13:42 -05:00
parent 9a04df862b
commit c8b574906b
No known key found for this signature in database
GPG Key ID: 0426976DCEFE6073
5 changed files with 10 additions and 6 deletions

View File

@ -1,6 +1,6 @@
{
"name": "chat",
"version": "0.0.18",
"version": "0.0.19",
"main": "./src/index.tsx",
"license": "MIT",
"dependencies": {

View File

@ -118,4 +118,4 @@ lite-youtube {
.btn-secondary {
border: none !important;
}
}

View File

@ -14,6 +14,10 @@
padding-right: 3rem;
}
.ChatMessage .btn {
border: none !important;
}
.ChatMessage-top {
display: flex;
align-items: center;

View File

@ -55,6 +55,9 @@ export function UserInput() {
);
const handleToggleEmojiDrawer = useCallback(() => {
if (open) {
builtChatInput.current?.focus();
hide();
} else {
reveal({
title: "Select an emoji",
content: (
@ -64,9 +67,6 @@ export function UserInput() {
/>
),
});
} else {
builtChatInput.current?.focus();
hide();
}
}, [open]);
const handleSelectEmoji = useCallback((emoji: string) => {

View File

@ -769,7 +769,7 @@
<div class="body w-lg-100">
<div class="custom-control custom-switch">
<input autocomplete="off" type="checkbox" class="custom-control-input" id="spiderswitch" name="spider" {% if v.spider%}checked{% endif %} {% if v.spider > 1 %}disabled{% endif %} onchange="post_toast(this,'/settings/profile?spider='+document.getElementById('spiderswitch').checked)">
<input autocomplete="off" type="checkbox" class="custom-control-input" id="spiderswitch" name="spider" {% if v.spider%}checked{% endif %} {% if v.spider and v.spider > 1 %}disabled{% endif %} onchange="post_toast(this,'/settings/profile?spider='+document.getElementById('spiderswitch').checked)">
<label class="custom-control-label" for="spiderswitch"></label>
</div>