Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(styles): fix focus indicator visibility for links in accordion items inside the footer on mobile #4306

Open
wants to merge 5 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 1 commit
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
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ import { collapse, expand } from '@/animations/collapse';
import { checkEmptyOrType, isMotionReduced } from '@/utils';

/**
* @part collapsible-container - The pseudo-element, used to override styles on the collapsible element.
* @slot default - Slot for placing content within the collapsible element.
*/

Expand Down Expand Up @@ -96,7 +97,7 @@ export class PostCollapsible {

render() {
return (
<Host data-version={version}>
<Host data-version={version} part="collapsible-container">
<slot />
</Host>
);
Expand Down
7 changes: 7 additions & 0 deletions packages/components/src/components/post-collapsible/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,13 @@ Type: `Promise<boolean>`
| `"default"` | Slot for placing content within the collapsible element. |


## Shadow Parts

| Part | Description |
| ------------------------- | ----------------------------------------------------------------------- |
| `"collapsible-container"` | The pseudo-element, used to override styles on the collapsible element. |


## Dependencies

### Used by
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,10 @@ footer {
::part(body) {
padding-inline: 0;
}
::part(collapsible-container) {
margin-inline: -1rem;
padding-inline: 1rem;
}
}

.footer-column {
Expand Down
Loading