mirror of
https://github.com/twbs/bootstrap.git
synced 2025-10-03 16:51:54 +02:00
redesign slightly to make entries full width in dropdown menu, like bootstrap's menus
This commit is contained in:
@@ -10,6 +10,7 @@
|
|||||||
width: 100%;
|
width: 100%;
|
||||||
min-width: 0 !important;
|
min-width: 0 !important;
|
||||||
max-width: none !important;
|
max-width: none !important;
|
||||||
|
padding: 8px 0 !important;
|
||||||
background-color: #fff;
|
background-color: #fff;
|
||||||
background-clip: padding-box;
|
background-clip: padding-box;
|
||||||
border: 1px solid rgba(0,0,0,.1);
|
border: 1px solid rgba(0,0,0,.1);
|
||||||
@@ -21,13 +22,24 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
[class^=ds-dataset-] {
|
[class^=ds-dataset-] {
|
||||||
|
padding: 0 !important;
|
||||||
|
overflow: visible !important;
|
||||||
background-color: transparent !important;
|
background-color: transparent !important;
|
||||||
border: 0 !important;
|
border: 0 !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.ds-suggestions {
|
||||||
|
margin-top: 0 !important;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.algolia-docsearch-suggestion {
|
||||||
|
padding: 0 !important;
|
||||||
|
overflow: visible !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.algolia-docsearch-suggestion--category-header {
|
.algolia-docsearch-suggestion--category-header {
|
||||||
padding: .125rem 0 !important;
|
padding: .125rem 15px !important;
|
||||||
margin-top: 0 !important;
|
margin-top: 0 !important;
|
||||||
font-size: .75rem !important;
|
font-size: .75rem !important;
|
||||||
font-weight: 500 !important;
|
font-weight: 500 !important;
|
||||||
@@ -71,6 +83,8 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.algolia-docsearch-suggestion--title {
|
.algolia-docsearch-suggestion--title {
|
||||||
|
display: block;
|
||||||
|
padding: 0 15px !important;
|
||||||
font-size: .875rem !important;
|
font-size: .875rem !important;
|
||||||
font-weight: 400 !important;
|
font-weight: 400 !important;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user