mirror of
https://github.com/misode/misode.github.io.git
synced 2026-04-24 07:37:10 +00:00
Hide changelog versions on medium screen
This commit is contained in:
@@ -5,11 +5,12 @@ import { Badge } from './index.js'
|
||||
|
||||
type Props = {
|
||||
change: Change,
|
||||
minimal?: boolean,
|
||||
activeTags?: string[],
|
||||
toggleTag?: (tag: string) => unknown,
|
||||
}
|
||||
export function ChangelogEntry({ change, activeTags, toggleTag }: Props) {
|
||||
return <Card overlay={<>
|
||||
export function ChangelogEntry({ change, minimal, activeTags, toggleTag }: Props) {
|
||||
return <Card overlay={!minimal && <>
|
||||
<a class="changelog-version" href={`/versions/?id=${change.version}`}>{change.version}</a>
|
||||
<a class="changelog-version" href={`/versions/?id=${change.group}`}>{change.group}</a>
|
||||
</>}>
|
||||
|
||||
Reference in New Issue
Block a user