Review search scroll behavior

This commit is contained in:
Claude Brisson
2024-04-10 20:56:03 +02:00
parent f155c5340e
commit af8de00a49
3 changed files with 98 additions and 61 deletions

View File

@@ -118,17 +118,35 @@
}
}
#player-form {
&:not(.add) {
#player {
&.edit {
#search-form, #search-result {
display: none;
}
}
&.create {
.popup-body {
padding-top: 0;
.needle {
padding-top: 0.25em;
}
}
}
}
#search-form {
position: sticky;
top: 0;
z-index: 10;
}
#search-header {
position: relative;
background-color: white;
}
#search-wrapper {
position: relative;
}
#search-result {
text-align: left;
position: absolute;
background-color: gray;
z-index: 2;