mirror of
https://github.com/flarum/core.git
synced 2025-08-06 08:27:42 +02:00
Collapse search input on tablets. closes flarum/core#162
While this solution isn't perfect (perhaps a search icon which opens a dropdown would be better, like Discourse does) - it'll do for now :)
This commit is contained in:
@@ -266,6 +266,18 @@
|
||||
}
|
||||
}
|
||||
|
||||
@media @tablet {
|
||||
.Header-secondary .Search {
|
||||
input {
|
||||
width: 1px;
|
||||
background: transparent;
|
||||
}
|
||||
&:not(.active) input {
|
||||
padding-right: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// ------------------------------------
|
||||
// Content Area
|
||||
|
||||
|
Reference in New Issue
Block a user