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

NavMenu Items should have a delete button #44

Open
machuu opened this issue Dec 7, 2019 · 1 comment
Open

NavMenu Items should have a delete button #44

machuu opened this issue Dec 7, 2019 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@machuu
Copy link
Owner

machuu commented Dec 7, 2019

Currently, there is no way to delete a Deck or Card.

Options:

  • Button in the NavMenu for each item
  • Button in the Editor to delete the active Card
@machuu machuu added the enhancement New feature or request label Dec 7, 2019
@machuu machuu added this to the Card Navigator milestone Dec 7, 2019
@machuu machuu self-assigned this Dec 7, 2019
@machuu
Copy link
Owner Author

machuu commented Feb 27, 2021

Problem: X (delete button) is showing up underneath Deck Name.

The name content needs to be in it's own <div> so there is no raw content next to a <div>.

Current layout:

<div class="navigator-item" id="SCENE_SCENE-DECK-2021-02-27T12:21:39.643Z-8o4r" deckid="SCENE-DECK-2021-02-27T12:21:39.643Z-8o4r">
    Scene Deck 1
    <div class="button" deckid="SCENE-DECK-2021-02-27T12:21:39.643Z-8o4r" clickaction="removeSCENEDeck">X</div>
</div>

Desired layout:

<div class="navigator-item" id="SCENE_SCENE-DECK-2021-02-27T12:21:39.643Z-8o4r" deckid="SCENE-DECK-2021-02-27T12:21:39.643Z-8o4r">
    <div>Scene Deck 1</div>
    <div class="button" deckid="SCENE-DECK-2021-02-27T12:21:39.643Z-8o4r" clickaction="removeSCENEDeck">X</div>
</div>

Adding display: flex; to the first <div> displays the X on the same line as the Deck Name.

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
Minimum Viable Product
  
Awaiting triage
Development

No branches or pull requests

1 participant