Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
B
bs_base
Manage
Activity
Members
Labels
Plan
Wiki
Custom issue tracker
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
project
bs_base
Commits
89a23704
Commit
89a23704
authored
1 year ago
by
Ivica Puljic
Committed by
Ivica Puljic
1 year ago
Browse files
Options
Downloads
Patches
Plain Diff
Issue
#3360708
by pivica: Improve positioning of to top block button
parent
c9efbb01
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
themes/bs_bootstrap/sass/layout/partials/_footer.scss
+8
-2
8 additions, 2 deletions
themes/bs_bootstrap/sass/layout/partials/_footer.scss
with
8 additions
and
2 deletions
themes/bs_bootstrap/sass/layout/partials/_footer.scss
+
8
−
2
View file @
89a23704
...
...
@@ -68,13 +68,19 @@
// Reset bottom margin so we are sure height is zero for this block
// on bigger screens where it is hidden.
margin-bottom
:
0
!
important
;
// For the right value use the same value as in
// bs_lib/scroll-to-top.css so there are no movements when we
// transition from fixed to absolute.
padding-right
:
1rem
!
important
;
@include
media-responsive-breakpoint-down
()
{
position
:
absolute
;
top
:
0
;
right
:
0
;
// Prevent full width of a block for absolute position.
width
:
auto
;
// Prevent full width of a block for absolute position. Use
// fit-content instead of auto to prevent iOS positioning problem
// and overflowing outside of screen horizontally.
width
:
fit-content
;
.btn
{
&
:not
(
.bs-lib-scroll-to-top--fixed
)
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment