mirror of
https://github.com/linuxserver/Heimdall.git
synced 2026-02-21 20:20:34 +09:00
Remove search provider dropdown when there's only a single provider
Resolves #1509
This commit is contained in:
11
public/css/app.css
vendored
11
public/css/app.css
vendored
@@ -1130,6 +1130,9 @@ a.settinglink {
|
||||
position: relative;
|
||||
z-index: 4;
|
||||
}
|
||||
.searchform:has(input[name=provider][type=hidden]) {
|
||||
max-width: 520px;
|
||||
}
|
||||
.searchform form {
|
||||
width: 100%;
|
||||
}
|
||||
@@ -1147,6 +1150,10 @@ a.settinglink {
|
||||
width: 100%;
|
||||
background: transparent;
|
||||
}
|
||||
.searchform input[name=q]:first-child {
|
||||
border-top-left-radius: 5px;
|
||||
border-bottom-left-radius: 5px;
|
||||
}
|
||||
.searchform button {
|
||||
position: absolute;
|
||||
right: 0px;
|
||||
@@ -1170,6 +1177,10 @@ a.settinglink {
|
||||
border-top-left-radius: 5px;
|
||||
border-bottom-left-radius: 5px;
|
||||
}
|
||||
.searchform select ~ input[name=q] {
|
||||
border-top-left-radius: 0;
|
||||
border-bottom-left-radius: 0;
|
||||
}
|
||||
|
||||
#search-autocomplete {
|
||||
position: absolute;
|
||||
|
||||
Reference in New Issue
Block a user