mirror of
https://github.com/discourse/discourse.git
synced 2025-04-29 21:44:38 +08:00
UX: better position for search bulk select button (#12594)
This commit is contained in:
parent
ce251986bf
commit
f8e5df393d
@ -81,9 +81,26 @@
|
|||||||
justify-content: flex-start;
|
justify-content: flex-start;
|
||||||
align-items: stretch;
|
align-items: stretch;
|
||||||
flex-wrap: wrap;
|
flex-wrap: wrap;
|
||||||
|
padding-right: 2.6em; // placeholder for fixed position bulk search button
|
||||||
button {
|
button {
|
||||||
margin: 0 0.5em 0.5em 0;
|
margin: 0 0.5em 0.5em 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.bulk-select-container {
|
||||||
|
order: 2; // last button
|
||||||
|
margin-left: auto;
|
||||||
|
z-index: z("dropdown"); // below composer
|
||||||
|
}
|
||||||
|
|
||||||
|
#bulk-select {
|
||||||
|
position: fixed;
|
||||||
|
right: unset;
|
||||||
|
margin: 0;
|
||||||
|
button {
|
||||||
|
margin: 0;
|
||||||
|
box-shadow: 0 0 0.4em 0.45em var(--secondary); // slight fade behind the button, because it can overlay content
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.search-notice {
|
.search-notice {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user