Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Dropdown + ellipsis fix#974

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
levkk merged 18 commits intomasterfromlevkk-dropdown-ellipsis
Sep 4, 2023
Merged

Dropdown + ellipsis fix#974

levkk merged 18 commits intomasterfromlevkk-dropdown-ellipsis
Sep 4, 2023

Conversation

levkk
Copy link
Contributor

@levkklevkk commentedSep 1, 2023
edited
Loading

  1. AddDropdown component.
  2. Fix long database names, now they will have an ellipsis instead of an overflow.
Screenshot 2023-09-01 at 8 50 01 AMScreenshot 2023-09-01 at 8 49 44 AMScreenshot 2023-09-01 at 2 27 45 PMScreenshot 2023-09-01 at 2 27 38 PMScreenshot 2023-09-01 at 2 27 35 PM

@chillenberger
Copy link
Contributor

When I run your code on my computer the left nav does not collapse correctly.

What it looks like on my computer
Screenshot 2023-09-01 at 10 22 52 AM

should look like
Screenshot 2023-09-01 at 10 23 55 AM

@levkk
Copy link
ContributorAuthor

Ah, this is becauseleftnav-collapse-affect is actually a used CSS class.

</span>
</button>

<div class="menu-item horizontal-hide dropdown-toggle collapsed <% if collapsable { %> leftnav-collapse-affect <% } %>" href="#" role="button" data-bs-toggle="dropdown" data-bs-offset="68, -44" aria-expanded="false">
Copy link
Contributor

Choose a reason for hiding this comment

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

We might want the ability to control this data-bs-offset. It controls where the dropdown menu appears relative to its default position. Also, I can see needing to position the dropdown list left center or right very useful.

@levkklevkkforce-pushed thelevkk-dropdown-ellipsis branch from51262ee toe95e7fcCompareSeptember 4, 2023 22:50
@levkklevkk merged commitafd92c3 intomasterSep 4, 2023
@levkklevkk deleted the levkk-dropdown-ellipsis branchSeptember 4, 2023 22:56
SilasMarvin pushed a commit that referenced this pull requestOct 5, 2023
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@chillenbergerchillenbergerchillenberger left review comments

Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

2 participants
@levkk@chillenberger

[8]ページ先頭

©2009-2025 Movatter.jp