Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
T
Theme
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
osuny
Theme
Commits
c524a1ec
Commit
c524a1ec
authored
2 years ago
by
Olivia206
Browse files
Options
Downloads
Patches
Plain Diff
Removed sticky from mobile
parent
a4568b7e
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
assets/sass/_theme/design-system/header.sass
+14
-11
14 additions, 11 deletions
assets/sass/_theme/design-system/header.sass
with
14 additions
and
11 deletions
assets/sass/_theme/design-system/header.sass
+
14
−
11
View file @
c524a1ec
header
[
role
=
"banner"
]
@if
$header-sticky-enabled
background-color
:
$header-background-color
position
:
sticky
top
:
0
transition
:
transform
$header-sticky-transition
z-index
:
10
html
.is-scrolling-down
:not
(
.is-menu-open
)
&
&
:not
(
:hover
)
transform
:
translateY
(
-100%
)
&
.is-sticky
background-color
:
$header-background-color
position
:
fixed
z-index
:
10
@include
media-breakpoint-up
(
md
)
@if
$header-sticky-enabled
position
:
sticky
top
:
0
transition
:
transform
$header-sticky-transition
html
.is-scrolling-down
:not
(
.is-menu-open
)
&
&
:not
(
:hover
)
transform
:
translateY
(
-100%
)
&
.is-sticky
position
:
sticky
@include
media-breakpoint-down
(
md
)
padding
:
1rem
0
width
:
100%
nav
[
role
=
"navigation"
]
.container
...
...
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