mirror of
https://github.com/captbaritone/webamp.git
synced 2026-07-25 02:57:30 +00:00
Avoid awkward line breaks in metadata, remove Webamp link
This commit is contained in:
parent
1bb0dfaa3e
commit
d6fd46fc01
1 changed files with 4 additions and 3 deletions
|
|
@ -96,13 +96,14 @@ function Metadata() {
|
|||
>
|
||||
Share
|
||||
</a>,
|
||||
/*
|
||||
<a
|
||||
id="metadata-webamp"
|
||||
href={`https://webamp.org?skinUrl=${Utils.skinUrlFromHash(hash)}`}
|
||||
target="_new"
|
||||
>
|
||||
Webamp
|
||||
</a>,
|
||||
</a>, */
|
||||
skinData && skinData.nsfw ? (
|
||||
"NSFW"
|
||||
) : (
|
||||
|
|
@ -131,12 +132,12 @@ function Metadata() {
|
|||
{elements.map((element, i) => {
|
||||
const last = i === element.length - 1;
|
||||
return (
|
||||
<React.Fragment key={i}>
|
||||
<span style={{ whiteSpace: "nowrap" }} key={i}>
|
||||
{"["}
|
||||
{element}
|
||||
{"]"}
|
||||
{last ? "" : " "}
|
||||
</React.Fragment>
|
||||
</span>
|
||||
);
|
||||
})}
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue