forked from rDrama/rDrama
Fix button borders in dark theme
parent
9a04df862b
commit
c8b574906b
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "chat",
|
"name": "chat",
|
||||||
"version": "0.0.18",
|
"version": "0.0.19",
|
||||||
"main": "./src/index.tsx",
|
"main": "./src/index.tsx",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
|
|
@ -14,6 +14,10 @@
|
||||||
padding-right: 3rem;
|
padding-right: 3rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.ChatMessage .btn {
|
||||||
|
border: none !important;
|
||||||
|
}
|
||||||
|
|
||||||
.ChatMessage-top {
|
.ChatMessage-top {
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
|
|
|
@ -55,6 +55,9 @@ export function UserInput() {
|
||||||
);
|
);
|
||||||
const handleToggleEmojiDrawer = useCallback(() => {
|
const handleToggleEmojiDrawer = useCallback(() => {
|
||||||
if (open) {
|
if (open) {
|
||||||
|
builtChatInput.current?.focus();
|
||||||
|
hide();
|
||||||
|
} else {
|
||||||
reveal({
|
reveal({
|
||||||
title: "Select an emoji",
|
title: "Select an emoji",
|
||||||
content: (
|
content: (
|
||||||
|
@ -64,9 +67,6 @@ export function UserInput() {
|
||||||
/>
|
/>
|
||||||
),
|
),
|
||||||
});
|
});
|
||||||
} else {
|
|
||||||
builtChatInput.current?.focus();
|
|
||||||
hide();
|
|
||||||
}
|
}
|
||||||
}, [open]);
|
}, [open]);
|
||||||
const handleSelectEmoji = useCallback((emoji: string) => {
|
const handleSelectEmoji = useCallback((emoji: string) => {
|
||||||
|
|
|
@ -769,7 +769,7 @@
|
||||||
<div class="body w-lg-100">
|
<div class="body w-lg-100">
|
||||||
|
|
||||||
<div class="custom-control custom-switch">
|
<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>
|
<label class="custom-control-label" for="spiderswitch"></label>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue