mirror of
https://github.com/nonebot/nonebot2.git
synced 2025-02-22 02:25:56 +08:00
📝 Docs: 移除 Messenger 移动端预期外的蓝色遮罩 (#1842)
This commit is contained in:
parent
c441ec7080
commit
ec41b5f57f
@ -71,10 +71,18 @@ export default function Messenger({
|
|||||||
<div className="px-3">
|
<div className="px-3">
|
||||||
<div className="flex flex-row items-center">
|
<div className="flex flex-row items-center">
|
||||||
<div className="flex-1 p-1 max-w-full">
|
<div className="flex-1 p-1 max-w-full">
|
||||||
<input className="w-full rounded bg-light dark:bg-dark" />
|
<input
|
||||||
|
className="w-full rounded bg-light dark:bg-dark focus:outline-none focus:ring focus:border-blue-500"
|
||||||
|
readOnly
|
||||||
|
/>
|
||||||
</div>
|
</div>
|
||||||
<div className="flex-initial grow-0 w-fit">
|
<div className="flex-initial grow-0 w-fit">
|
||||||
<button className="h-7 px-3 rounded-full bg-blue-500 text-white">
|
<button
|
||||||
|
className={clsx(
|
||||||
|
"h-7 px-3 rounded-full bg-blue-500 text-white",
|
||||||
|
styles.messageSendButton
|
||||||
|
)}
|
||||||
|
>
|
||||||
<span>发送</span>
|
<span>发送</span>
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
|
@ -28,3 +28,13 @@
|
|||||||
.message.messageRight .messageBox::after {
|
.message.messageRight .messageBox::after {
|
||||||
@apply !left-full !right-auto !rounded-bl-[0] !rounded-br-lg;
|
@apply !left-full !right-auto !rounded-bl-[0] !rounded-br-lg;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.messageSendButton {
|
||||||
|
-webkit-tap-highlight-color: transparent;
|
||||||
|
-webkit-touch-callout: none;
|
||||||
|
-webkit-user-select: none;
|
||||||
|
-khtml-user-select: none;
|
||||||
|
-moz-user-select: none;
|
||||||
|
-ms-user-select: none;
|
||||||
|
user-select: none;
|
||||||
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user