mirror of
https://github.com/MetaCubeX/metacubexd.git
synced 2024-11-10 05:15:35 +08:00
fix: border color
This commit is contained in:
parent
db7c70044e
commit
c2cb607a45
@ -42,10 +42,8 @@ export default (props: {
|
||||
return (
|
||||
<div
|
||||
class={twMerge(
|
||||
'card card-bordered tooltip tooltip-bottom card-compact flex gap-1 p-3',
|
||||
isSelected
|
||||
? 'border-primary bg-success-content text-success'
|
||||
: 'border-secondary',
|
||||
'card card-bordered tooltip tooltip-bottom card-compact flex gap-1 border-primary p-3',
|
||||
isSelected && 'border-success bg-success-content text-success',
|
||||
onClick && 'cursor-pointer',
|
||||
)}
|
||||
onClick={() => onClick?.()}
|
||||
|
@ -29,7 +29,7 @@ export default () => {
|
||||
<div class="grid grid-cols-1 gap-2 sm:grid-cols-1">
|
||||
<For each={rules()}>
|
||||
{(rule) => (
|
||||
<div class="card card-bordered card-compact border-secondary p-4">
|
||||
<div class="card card-bordered card-compact border-primary p-4">
|
||||
<div class="break-all">{rule.payload}</div>
|
||||
<div class="text-xs text-slate-500">
|
||||
{rule.type} :: {rule.proxy}
|
||||
|
Loading…
Reference in New Issue
Block a user