mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-12-25 01:20:30 +00:00
Fix search dropdown positioning
This fixes a problem introduced in
72941f3e9a
whereby the change to
tc-drop-down affected other dropdowns.
This commit is contained in:
parent
ad1793c8f5
commit
07ac75b084
@ -29,16 +29,12 @@ title: $:/core/ui/SideBarLists
|
|||||||
</$reveal>
|
</$reveal>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<$reveal state="$:/temp/search" type="nomatch" text="">
|
<$reveal tag="div" class="tc-block-dropdown-wrapper" state="$:/temp/search" type="nomatch" text="">
|
||||||
|
|
||||||
<$reveal state=<<qualify "$:/state/popup/search-dropdown">> type="nomatch" text="" default="">
|
<$reveal tag="div" class="tc-block-dropdown tc-search-drop-down tc-popup-handle" state=<<qualify "$:/state/popup/search-dropdown">> type="nomatch" text="" default="">
|
||||||
|
|
||||||
<div class="tc-drop-down tc-search-drop-down tc-popup-handle">
|
|
||||||
|
|
||||||
{{$:/core/ui/SearchResults}}
|
{{$:/core/ui/SearchResults}}
|
||||||
|
|
||||||
</div>
|
|
||||||
|
|
||||||
</$reveal>
|
</$reveal>
|
||||||
|
|
||||||
</$reveal>
|
</$reveal>
|
||||||
|
@ -1191,8 +1191,6 @@ html body.tc-body.tc-single-tiddler-window {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.tc-drop-down {
|
.tc-drop-down {
|
||||||
position: absolute;
|
|
||||||
z-index: 1000;
|
|
||||||
min-width: 380px;
|
min-width: 380px;
|
||||||
border: 1px solid <<colour dropdown-border>>;
|
border: 1px solid <<colour dropdown-border>>;
|
||||||
background-color: <<colour dropdown-background>>;
|
background-color: <<colour dropdown-background>>;
|
||||||
@ -1203,10 +1201,6 @@ html body.tc-body.tc-single-tiddler-window {
|
|||||||
line-height: 1.4;
|
line-height: 1.4;
|
||||||
}
|
}
|
||||||
|
|
||||||
.tc-search-drop-down {
|
|
||||||
margin-left: -12px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.tc-drop-down .tc-drop-down {
|
.tc-drop-down .tc-drop-down {
|
||||||
margin-left: 14px;
|
margin-left: 14px;
|
||||||
}
|
}
|
||||||
@ -1304,6 +1298,11 @@ html body.tc-body.tc-single-tiddler-window {
|
|||||||
margin: 4px 0 0 0;
|
margin: 4px 0 0 0;
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
z-index: 1000;
|
z-index: 1000;
|
||||||
|
text-shadow: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
.tc-block-dropdown.tc-search-drop-down {
|
||||||
|
margin-left: -12px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.tc-block-dropdown a {
|
.tc-block-dropdown a {
|
||||||
@ -1311,6 +1310,11 @@ html body.tc-body.tc-single-tiddler-window {
|
|||||||
padding: 4px 14px 4px 14px;
|
padding: 4px 14px 4px 14px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.tc-block-dropdown.tc-search-drop-down a {
|
||||||
|
display: block;
|
||||||
|
padding: 0px 10px 0px 10px;
|
||||||
|
}
|
||||||
|
|
||||||
.tc-drop-down .tc-dropdown-item,
|
.tc-drop-down .tc-dropdown-item,
|
||||||
.tc-block-dropdown .tc-dropdown-item {
|
.tc-block-dropdown .tc-dropdown-item {
|
||||||
padding: 4px 14px 4px 7px;
|
padding: 4px 14px 4px 7px;
|
||||||
@ -1323,6 +1327,10 @@ html body.tc-body.tc-single-tiddler-window {
|
|||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.tc-search-results {
|
||||||
|
padding: 0 7px 0 7px;
|
||||||
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
** Modals
|
** Modals
|
||||||
*/
|
*/
|
||||||
|
Loading…
Reference in New Issue
Block a user