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

Lists look bad #284

Closed
janat08 opened this issue Apr 9, 2024 · 4 comments
Closed

Lists look bad #284

janat08 opened this issue Apr 9, 2024 · 4 comments
Assignees
Labels
next release Available in the next release

Comments

@janat08
Copy link

janat08 commented Apr 9, 2024

I don't know what it is that is actually wrong with them. I must've asked the question, but is it really up to spec. I may have been more like considering clickable lists as the proper list for material, but the basic one sometimes has me comparing it against gmail.

@fabessen
Copy link

Well at least i have to admit that i im not really sure how to style them like in Material 3 documentation:
image
https://m3.material.io/components/lists/overview#0519c023-de10-4062-9e4d-4c6918245b1a

Would be really nice if someone could provide a codepen etc. example 🙂👍

@kennymingt
Copy link

kennymingt commented Apr 11, 2024

I found that adding padding and no-margin classes makes them look better. Also wave to get the hover effect.

Screenshot 2024-04-11 at 1 32 12 PM
 <div class="padding no-margin row wave">
      <i class="light-green-text">check_circle</i>
      <div class="max"><div>hi</div>Some text here</div>
      <a>
          <i>edit</i>
      </a>
      <a>
          <i>delete</i>
      </a>
  </div>
  <div class="padding no-margin row wave">
      <i class="light-green-text">check_circle</i>
      <div class="max">Some text here</div>
      <a>
          <i>edit</i>
      </a>
      <a>
          <i>delete</i>
      </a>
  </div>
  <div class="padding no-margin row wave">
      <i class="light-green-text">check_circle</i>
      <div class="max">Some text here</div>
      <a>
          <i>edit</i>
      </a>
      <a>
          <i>delete</i>
      </a>
  </div>

@fabessen
Copy link

Cool. Thanks a lot 👍

@leonardorafael
Copy link
Collaborator

Nice, I will add some examples on next release.

@leonardorafael leonardorafael self-assigned this Apr 11, 2024
@leonardorafael leonardorafael added the next release Available in the next release label Apr 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
next release Available in the next release
Projects
None yet
Development

No branches or pull requests

4 participants