#6654 sticky class #165

Merged
jorgep merged 6 commits from 6654-stickySubToolbar into dev 2024-01-31 07:50:58 +00:00
1 changed files with 7 additions and 2 deletions
Showing only changes of commit 0edfe24a85 - Show all commits

View File

@ -24,10 +24,15 @@ onUnmounted(() => {
</slot>
</QToolbar>
</template>
<style scoped>
<style lang="scss" scoped>
.sticky {
position: sticky;
top: 60px;
top: 62px;

He puesto 62 porque con 60 hace un ligero scroll.

He puesto 62 porque con 60 hace un ligero scroll.

y porque pone 61?

y porque pone 61?

porque había un ligero hueco con 62px. Por eso lo he cambiado a 61

porque había un ligero hueco con 62px. Por eso lo he cambiado a 61
z-index: 1;
}
@media (max-width: $breakpoint-xs) {
.sticky {
top: 90px;
}
}
</style>