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 unnecessary border from lists inside of cards #535

Merged
merged 1 commit into from
Jan 28, 2022

Conversation

scurker
Copy link
Member

@scurker scurker commented Jan 28, 2022

I have a pagination inside of a card pattern, but the list items there are showing a border on the bottom:

pagination items with thin 1px line under the components

@github-actions
Copy link
Contributor

Preview branch generated at https://fix-card-li.d1gko6en628vir.amplifyapp.com

@@ -75,10 +75,6 @@
box-sizing: border-box;
}

.Card__content ul li {
Copy link
Contributor

@dequejosie dequejosie Jan 28, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we have any list inside .Card__content that actually requires the border? I don't recall any, but maybe we should check with @awpearlm or @bobbyomari

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I asked @schne324 about this and he doesn't know, but regardless this is way too generic of a selector. If we intended to have some sort of list components inside of a card we need something more specific.

@scurker scurker merged commit e368ef0 into develop Jan 28, 2022
@scurker scurker deleted the fix-card-li branch January 28, 2022 17:57
@github-actions
Copy link
Contributor

Preview branch generated at https://fix-card-li.d1gko6en628vir.amplifyapp.com

@scurker scurker mentioned this pull request Mar 31, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants