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

Badge without margin-left in a collapsible #415

Open
3 tasks done
raphodn opened this issue Sep 1, 2023 · 0 comments
Open
3 tasks done

Badge without margin-left in a collapsible #415

raphodn opened this issue Sep 1, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@raphodn
Copy link

raphodn commented Sep 1, 2023

Before submitting...

Context

Currently, badges are always pulled to the right in a collapsible.

It would be great to have an option (a class to add ?) to have it next to the text instead.

.collapsible span.badge {

Current Behavior

Example in a collapsible-header

image

<div class="collapsible-header">
    <i class="material-icons">chat_bubble_outline</i>Notes
    <span class="badge teal white-text">{{ member.notes | length }}</span>
</div>

Expected behavior

I added some extra style to have this behavior

Screenshot from 2023-09-01 12-24-55

<div class="collapsible-header">
    <i class="material-icons">chat_bubble_outline</i>Notes
    <span class="badge teal white-text" style="margin-left:14px;">{{ member.notes | length }}</span>
</div>

Possible Solutions or Causes

Not really sure what the ideal solution could be

  • maybe a left class that disables the margin-left: auto ?
  • or a right class that adds the margin-left: auto ?

Thanks 🙏

Your Environment

  • Version used: 1.2.2
  • Browser Name and version: Brave 1.57.47
  • Operating System and version (desktop or mobile): Ubuntu 22.04.03
  • Additional information you want to tell us:
@Jerit3787 Jerit3787 added the enhancement New feature or request label Oct 10, 2023
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

No branches or pull requests

2 participants