Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 3 additions & 11 deletions src/components/AutoLinkHeader.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Flex, FlexItem, Content, Button } from '@patternfly/react-core'
import { Flex, FlexItem, Content } from '@patternfly/react-core'
import LinkIcon from '@patternfly/react-icons/dist/esm/icons/link-icon'
import { slugger } from '../utils/slugger'
import { css } from '@patternfly/react-styles'
Expand Down Expand Up @@ -33,20 +33,12 @@ export const AutoLinkHeader = ({
tabIndex={-1}
isEditorial
>
<Button
href={`#${slug}`}
component="a"
className="ws-heading-anchor"
tabIndex={-1}
aria-hidden
variant="plain"
isInline
>
<a href={`#${slug}`} className="ws-heading-anchor" tabIndex={-1}>
<LinkIcon
className="ws-heading-anchor-icon"
style={{ verticalAlign: 'middle' }}
/>
</Button>
</a>
{children}
</Content>
</FlexItem>
Expand Down
2 changes: 1 addition & 1 deletion src/components/DocsTables.astro
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ const hasTables = !!propComponents || !!cssPrefix
hasTables && (
<Stack hasGutter>
{propComponents && (
<StackItem>
<StackItem className="pf-v6-u-mt-md">
<PropsTables
propComponents={propComponents}
url={url}
Expand Down
1 change: 1 addition & 0 deletions src/layouts/Main.astro
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
import '@patternfly/patternfly/patternfly.css'
import '@patternfly/patternfly/patternfly-addons.css'
import '../styles/global.scss'
import { ClientRouter } from 'astro:transitions'

Expand Down