🐛 修复指针可选中全部文本
This commit is contained in:
@@ -139,3 +139,11 @@
|
|||||||
::-webkit-scrollbar-corner {
|
::-webkit-scrollbar-corner {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
:root {
|
||||||
|
/* 禁止鼠标选中文本 */
|
||||||
|
-webkit-user-select: none;
|
||||||
|
-moz-user-select: none;
|
||||||
|
-ms-user-select: none;
|
||||||
|
user-select: none;
|
||||||
|
}
|
||||||
@@ -114,7 +114,7 @@ const AppDetail: Component = () => {
|
|||||||
)}
|
)}
|
||||||
</div>
|
</div>
|
||||||
<div class="py-2" />
|
<div class="py-2" />
|
||||||
<h2 class="app-name text-2xl font-bold pt-2">{app()?.Name}</h2>
|
<h2 class="app-name text-2xl font-bold pt-2 select-text">{app()?.Name}</h2>
|
||||||
</div>
|
</div>
|
||||||
<div class="flex flex-col gap-2 w-[120px]">
|
<div class="flex flex-col gap-2 w-[120px]">
|
||||||
{(() => {
|
{(() => {
|
||||||
@@ -269,34 +269,34 @@ const AppDetail: Component = () => {
|
|||||||
<div class="mt-2 w-full">
|
<div class="mt-2 w-full">
|
||||||
<div class="py-2">
|
<div class="py-2">
|
||||||
<h3 class="text-lg font-semibold">应用描述</h3>
|
<h3 class="text-lg font-semibold">应用描述</h3>
|
||||||
<p class="description text-muted-foreground">{app()?.More}</p>
|
<p class="description text-muted-foreground select-text">{app()?.More}</p>
|
||||||
</div>
|
</div>
|
||||||
<div class="py-2">
|
<div class="py-2">
|
||||||
<h3 class="text-lg font-semibold">应用信息</h3>
|
<h3 class="text-lg font-semibold">应用信息</h3>
|
||||||
<div class="grid grid-cols-2 sm:grid-cols-3 lg:grid-cols-4 xl:grid-cols-5 gap-4 mt-2 text-sm text-muted-foreground">
|
<div class="grid grid-cols-2 sm:grid-cols-3 lg:grid-cols-4 xl:grid-cols-5 gap-4 mt-2 text-sm text-muted-foreground">
|
||||||
<div class="flex flex-col">
|
<div class="flex flex-col">
|
||||||
<span class="text-xs text-muted-foreground mb-1">软件大小</span>
|
<span class="text-xs text-muted-foreground mb-1">软件大小</span>
|
||||||
<span>{app()?.Size}</span>
|
<span class='select-text'>{app()?.Size}</span>
|
||||||
</div>
|
</div>
|
||||||
<div class="flex flex-col">
|
<div class="flex flex-col">
|
||||||
<span class="text-xs text-muted-foreground mb-1">软件分类</span>
|
<span class="text-xs text-muted-foreground mb-1">软件分类</span>
|
||||||
<span>{app()?.Category}</span>
|
<span class='select-text'>{app()?.Category}</span>
|
||||||
</div>
|
</div>
|
||||||
<div class="flex flex-col">
|
<div class="flex flex-col">
|
||||||
<span class="text-xs text-muted-foreground mb-1">软件包名</span>
|
<span class="text-xs text-muted-foreground mb-1">软件包名</span>
|
||||||
<span>{app()?.Pkgname}</span>
|
<span class='select-text'>{app()?.Pkgname}</span>
|
||||||
</div>
|
</div>
|
||||||
<div class="flex flex-col">
|
<div class="flex flex-col">
|
||||||
<span class="text-xs text-muted-foreground mb-1">更新时间</span>
|
<span class="text-xs text-muted-foreground mb-1">更新时间</span>
|
||||||
<span>{app()?.Update}</span>
|
<span class='select-text'>{app()?.Update}</span>
|
||||||
</div>
|
</div>
|
||||||
<div class="flex flex-col">
|
<div class="flex flex-col">
|
||||||
<span class="text-xs text-muted-foreground mb-1">软件作者</span>
|
<span class="text-xs text-muted-foreground mb-1">软件作者</span>
|
||||||
<span>{app()?.Author}</span>
|
<span class='select-text'>{app()?.Author}</span>
|
||||||
</div>
|
</div>
|
||||||
<div class="flex flex-col">
|
<div class="flex flex-col">
|
||||||
<span class="text-xs text-muted-foreground mb-1">投稿用户</span>
|
<span class="text-xs text-muted-foreground mb-1">投稿用户</span>
|
||||||
<span>{app()?.Contributor}</span>
|
<span class='select-text'>{app()?.Contributor}</span>
|
||||||
</div>
|
</div>
|
||||||
<div class="flex flex-col">
|
<div class="flex flex-col">
|
||||||
<span class="text-xs text-muted-foreground mb-1">软件官网</span>
|
<span class="text-xs text-muted-foreground mb-1">软件官网</span>
|
||||||
|
|||||||
Reference in New Issue
Block a user