Skip to content

Commit 806f8db

Browse files
Merge pull request #58 from openclassify/scroll-added
scroll added
2 parents 1b6b823 + 661a025 commit 806f8db

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

resources/views/partials/search-box.twig

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,23 +3,24 @@
33
<input type="text" class="form-control search-bar"
44
placeholder="{{ trans('visiosoft.theme.defaultadmin::control_panel.search_placeholder') }}...">
55
<button type="submit" class="btn btn-search"><i class="fa fa-search"></i></button>
6-
<div class="dropdown-menu results">
6+
<div class="dropdown-menu results" style="max-height: 800px;overflow-x: auto;">
77
{% set moduleName = "" %}
88
{% for key, navigation in template.cp.navigation %}
99

10-
{% if moduleName != trans(navigation.breadcrumb) %}
11-
<a style="color: {{ setting_value('visiosoft.theme.defaultadmin::primary_color') }}!important;" class="dropdown-item" {{ html_attributes(navigation.attributes) }} {{ navigation.class }}>
10+
{% if moduleName != trans(navigation.breadcrumb) %}
11+
<a style="color: {{ setting_value('visiosoft.theme.defaultadmin::primary_color') }}!important;"
12+
class="dropdown-item" {{ html_attributes(navigation.attributes) }} {{ navigation.class }}>
1213
<span class="title">
13-
{{ trans(navigation.breadcrumb)}}
14+
{{ trans(navigation.breadcrumb) }}
1415
</span>
1516
</a>
16-
{% endif %}
17+
{% endif %}
1718

1819
<a class="dropdown-item" {{ html_attributes(navigation.attributes) }} {{ navigation.class }}>
1920

2021
<span class="title">
2122
- {{ trans(navigation.title) }}
22-
<span style="color:transparent; font-size: 14px;"> ( {{ trans(navigation.breadcrumb)}} ) </span>
23+
<span style="color:transparent; font-size: 14px;"> ( {{ trans(navigation.breadcrumb) }} ) </span>
2324

2425
</span>
2526
</a>

0 commit comments

Comments
 (0)