Skip to content

Commit bbb41e8

Browse files
committed
Breadcrumbs: Fixed bad dropdown menu placement at small sizes
For #4824
1 parent c290d01 commit bbb41e8

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

resources/sass/_components.scss

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -906,11 +906,9 @@ body.flexbox-support #entity-selector-wrap .popup-body .form-group {
906906
}
907907
}
908908

909-
@include smaller-than($m) {
909+
@include smaller-than($l) {
910910
.dropdown-search-dropdown {
911-
position: fixed;
912-
right: auto;
913-
left: $-m;
911+
inset-inline: $-m auto;
914912
}
915913
.dropdown-search-dropdown .dropdown-search-list {
916914
max-height: 240px;

resources/views/entities/breadcrumb-listing.blade.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
<div class="dropdown-search" components="dropdown dropdown-search"
1+
<div components="dropdown dropdown-search"
22
option:dropdown-search:url="/search/entity/siblings?entity_type={{$entity->getType()}}&entity_id={{ $entity->id }}"
33
option:dropdown-search:local-search-selector=".entity-list-item"
4-
>
4+
class="dropdown-search">
55
<div class="dropdown-search-toggle-breadcrumb" refs="dropdown@toggle"
66
aria-haspopup="true" aria-expanded="false" tabindex="0">
77
<div class="separator">@icon('chevron-right')</div>

0 commit comments

Comments
 (0)