File tree Expand file tree Collapse file tree 2 files changed +8
-3
lines changed
Expand file tree Collapse file tree 2 files changed +8
-3
lines changed Original file line number Diff line number Diff line change 1818
1919# body {
2020 flex-grow : 1 ;
21+ position : relative;
2122}
2223
2324a img {
@@ -127,6 +128,9 @@ form {
127128 padding : 0px ;
128129 margin-left : 10px ;
129130 overflow : hidden;
131+ position : absolute;
132+ top : 0 ;
133+ left : 0 ;
130134}
131135
132136# left li {
Original file line number Diff line number Diff line change @@ -189,9 +189,6 @@ dedupeTake n key = f [] Map.empty
189189showResults :: Bool -> Bool -> Maybe FilePath -> [(String , String )] -> [Query ] -> [[Target ]] -> Markup
190190showResults local links haddock args query results = do
191191 H. h1 $ renderQuery query
192- H. ul ! H. id " left" $ do
193- H. li $ H. b " Packages"
194- mconcat [H. li $ f cat val | (cat,val) <- itemCategories $ concat results, QueryScope True cat val `notElem` query]
195192 when (null results) $ H. p " No results found"
196193 forM_ results $ \ is@ (Target {.. }: _) -> do
197194 H. div ! H. class_ " result" $ do
@@ -203,6 +200,10 @@ showResults local links haddock args query results = do
203200 H. div ! H. class_ " links" $ H. a ! H. href (H. stringValue link) $ " Uses"
204201 H. div ! H. class_ " from" $ showFroms local haddock is
205202 H. div ! H. class_ " doc newline shut" $ H. preEscapedString targetDocs
203+ H. ul ! H. id " left" $ do
204+ H. li $ H. b " Packages"
205+ mconcat [H. li $ f cat val | (cat,val) <- itemCategories $ concat results, QueryScope True cat val `notElem` query]
206+
206207 where
207208 useLink :: [Target ] -> Maybe String
208209 useLink [t] | isNothing $ targetPackage t =
You can’t perform that action at this time.
0 commit comments