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

Make border radius of .collection configurable #166

Merged
merged 2 commits into from
Aug 13, 2021

Conversation

Calamari
Copy link

@Calamari Calamari commented Aug 6, 2021

Proposed changes

It striked me as odd that you can configure the border-radius of a button but not that of a collection, resulting in inconsistent looking border radius if you do.

Types of changes

I did two changes:

  • I moved the collection into an own file, since it is so much stuff, I think it warrants an own file (it has it's own page as well)

  • I added a $collection-border-radius variable to make it configurabel

  • Bug fix (non-breaking change which fixes an issue).

  • New feature (non-breaking change which adds functionality).

  • Breaking change (fix or feature that would cause existing functionality to change).

Checklist:

  • I have read the CONTRIBUTING document.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have added tests to cover my changes.
  • All new and existing tests passed.

Copy link
Member

@roiLeo roiLeo left a comment

Choose a reason for hiding this comment

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

LGTM, I would only suggest to fix spacing in _collection.scss

@DanielRuf DanielRuf requested a review from a team August 13, 2021 06:40
@RamonvdW
Copy link

Looks clean. I was doubting about .secondary-content but the docs show it is part of collections.

@DanielRuf DanielRuf merged commit 003b840 into materializecss:v1-dev Aug 13, 2021
@Calamari Calamari deleted the collection-border-radius branch August 13, 2021 08:15
@Smankusors Smankusors added the enhancement New feature or request label Apr 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants