diff options
| author | Mark Otto <[email protected]> | 2017-05-29 13:24:15 -0700 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2017-05-29 23:32:28 -0700 |
| commit | 38204b9cb1ab93baae2b916f46c8d1c99cdfe912 (patch) | |
| tree | 229932fc06d318496522e6a2736e1fe65ec15507 | |
| parent | 9916943c8c0392d1e3d4745e5eac1dab198e0e68 (diff) | |
| download | bootstrap-38204b9cb1ab93baae2b916f46c8d1c99cdfe912.tar.xz bootstrap-38204b9cb1ab93baae2b916f46c8d1c99cdfe912.zip | |
redesign slightly to make entries full width in dropdown menu, like bootstrap's menus
| -rw-r--r-- | assets/scss/_algolia.scss | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/assets/scss/_algolia.scss b/assets/scss/_algolia.scss index 1cc12a583..f742fe8af 100644 --- a/assets/scss/_algolia.scss +++ b/assets/scss/_algolia.scss @@ -10,6 +10,7 @@ width: 100%; min-width: 0 !important; max-width: none !important; + padding: 8px 0 !important; background-color: #fff; background-clip: padding-box; border: 1px solid rgba(0,0,0,.1); @@ -21,13 +22,24 @@ } [class^=ds-dataset-] { + padding: 0 !important; + overflow: visible !important; background-color: transparent !important; border: 0 !important; } + + .ds-suggestions { + margin-top: 0 !important; + } + } + + .algolia-docsearch-suggestion { + padding: 0 !important; + overflow: visible !important; } .algolia-docsearch-suggestion--category-header { - padding: .125rem 0 !important; + padding: .125rem 15px !important; margin-top: 0 !important; font-size: .75rem !important; font-weight: 500 !important; @@ -71,6 +83,8 @@ } .algolia-docsearch-suggestion--title { + display: block; + padding: 0 15px !important; font-size: .875rem !important; font-weight: 400 !important; } |
