| 1 |
// Search container |
| 2 |
// We have to put those styles outside `.skin-vector-search-vue`, |
| 3 |
// as we can't address no-JS modern and Vue enhanced otherwise. |
| 4 |
.vector-search-box { |
| 5 |
font-size: @font-size-small; |
| 6 |
// If this is a flex item, make sure it grows into available space. |
| 7 |
flex-grow: 1; |
| 8 |
|
| 9 |
.vector-typeahead-search-container { |
| 10 |
max-width: @max-width-search; |
| 11 |
margin-right: @margin-end-search; |
| 12 |
} |
| 13 |
} |
| 14 |
|
| 15 |
@media ( min-width: @min-width-breakpoint-desktop-wide ) { |
| 16 |
.client-js & .vector-search-box.vector-search-box-auto-expand-width { |
| 17 |
// Ensure search box is aligned with content when it autoexpands (i.e. search thumbnails) |
| 18 |
margin-left: -@size-search-expand; |
| 19 |
} |
| 20 |
} |