Skip to content

Commit

Permalink
use bootstrap's responsive position utitilty classes
Browse files Browse the repository at this point in the history
  • Loading branch information
bikubi committed Sep 30, 2024
1 parent 113b09e commit 8dcac81
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 9 deletions.
9 changes: 0 additions & 9 deletions frontend/javascript/components/postupload/post-upload.vue
Original file line number Diff line number Diff line change
Expand Up @@ -1651,13 +1651,4 @@ const onlineHelp = ref()
}
}
/* bootstrap doesn't provide this responsive position class out of the box
* (it could be compiled in with utils/helpers)
* used here to un-sticky the stepper in the header */
.position-md-static {
@media (min-width: map.get($grid-breakpoints, 'md')) {
position: static;
}
}
</style>
5 changes: 5 additions & 0 deletions frontend/styles/maps.scss
Original file line number Diff line number Diff line change
Expand Up @@ -56,5 +56,10 @@ $utilities: (
values: (
90: 0.9
)
),
'position': (
responsive: true,
property: position,
values: static relative absolute fixed sticky
)
);

0 comments on commit 8dcac81

Please sign in to comment.