mirror of
https://github.com/clusterio/clusterio.git
synced 2026-11-22 00:13:12 +09:00
Same styling of mod portal link and mod download button
This commit is contained in:
1 parent
a79b129b0c
commit
1f5f28c820
1 file changed
+8
-7
@@ -494,17 +494,18 @@ function SearchModsButton() {
|
|||||||
render: (_, record) => (
|
render: (_, record) => (
|
||||||
<Space>
|
<Space>
|
||||||
<Tooltip title="Open in Factorio Mod Portal">
|
<Tooltip title="Open in Factorio Mod Portal">
|
||||||
<Typography.Link
|
<a
|
||||||
href={`https://mods.factorio.com/mod/${record.name}`}
|
href={`https://mods.factorio.com/mod/${record.name}`}
|
||||||
target="_blank"
|
target="_blank"
|
||||||
rel="noopener noreferrer"
|
rel="noopener noreferrer"
|
||||||
>
|
>
|
||||||
<img
|
<Button type="text">
|
||||||
src="https://mods.factorio.com/static/favicon.ico"
|
<img
|
||||||
alt="Factorio Mod Portal"
|
src="https://mods.factorio.com/static/favicon.ico"
|
||||||
style={{ height: "1em", verticalAlign: "middle" }}
|
alt="Factorio Mod Portal"
|
||||||
/>
|
/>
|
||||||
</Typography.Link>
|
</Button>
|
||||||
|
</a>
|
||||||
</Tooltip>
|
</Tooltip>
|
||||||
{account.hasPermission("core.mod.download") && record.latest_release && (
|
{account.hasPermission("core.mod.download") && record.latest_release && (
|
||||||
<Tooltip title="Download to Controller">
|
<Tooltip title="Download to Controller">
|
||||||
|
|||||||
Reference in new issue
Block a user