Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
N
Neos
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
baichixing
Neos
Commits
f2f8c8d8
Commit
f2f8c8d8
authored
Jun 07, 2024
by
timel
Committed by
Chunchi Che
Jun 22, 2024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: small
parent
289f9044
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
6 deletions
+2
-6
src/ui/Shared/Chain/index.tsx
src/ui/Shared/Chain/index.tsx
+2
-6
No files found.
src/ui/Shared/Chain/index.tsx
View file @
f2f8c8d8
...
...
@@ -15,18 +15,14 @@ export interface ChainProps {
/* 这里有个妥协的实现:墓地,除外区,额外卡组的连锁图标会被卡片遮挡,原因不明,
* 因此这里暂时采取移动一个身位的方式进行解决。最好的解决方案应该是UI上连锁图标和
* 场地解耦。 */
export
const
BgChain
:
React
.
FC
<
ChainProps
>
=
({
chains
,
nBelow
:
nCardsBelow
=
1
,
op
,
})
=>
(
export
const
BgChain
:
React
.
FC
<
ChainProps
>
=
({
chains
,
nBelow
=
1
,
op
})
=>
(
<
div
className=
{
classnames
(
styles
.
container
,
{
[
styles
.
op
]:
op
,
})
}
style=
{
{
// @ts-ignore
"
--n
"
:
n
Cards
Below
,
"
--n
"
:
nBelow
,
}
}
>
{
/* 暂时只适配最后的连锁,不然肯定会出现错位 */
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment