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

cds-text="body" applies unexpected margin to body tag #143

Closed
3 tasks done
ashleyryan opened this issue Aug 16, 2022 · 1 comment
Closed
3 tasks done

cds-text="body" applies unexpected margin to body tag #143

ashleyryan opened this issue Aug 16, 2022 · 1 comment
Assignees
Labels

Comments

@ashleyryan
Copy link
Contributor

Describe the bug

cds-text="body" has margin applied using the ::before and ::after pseudo selectors. This creates an undesirable srollbar

How to reproduce

https://stackblitz.com/edit/clarity-angular-demo-ekhdpx?file=src%2Fapp%2Fapp.component.scss,src%2Fapp%2Fapp.component.html,src%2Fstyles.scss,src%2Findex.html

Steps to reproduce the behavior:

  1. Comment out the css in styles.scss
  2. Notice the scrollbar

Expected behavior

It should not have a scrollbar

Versions

Clarity project:

  • Clarity Core

Clarity version:

  • v5.x
  • v6.x
ashleyryan pushed a commit to ashleyryan/core that referenced this issue Aug 16, 2022
fixes cds-text="body" applies unexpected margin to body tag vmware-clarity#143
@ashleyryan ashleyryan self-assigned this Aug 16, 2022
ashleyryan pushed a commit that referenced this issue Aug 16, 2022
fixes cds-text="body" applies unexpected margin to body tag #143
@github-actions
Copy link

github-actions bot commented Sep 8, 2022

Hi there 👋, this is an automated message. To help Clarity keep track of discussions, we automatically lock closed issues after 14 days. Please look for another open issue or open a new issue with updated details and reference this one as necessary.

@github-actions github-actions bot locked and limited conversation to collaborators Sep 8, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant