Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
SWLab UI
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Jobs
Commits
Open sidebar
SWD
SWLab UI
Commits
1e567166
Commit
1e567166
authored
Oct 24, 2024
by
minseok.park
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update mobile-nav style
parent
f717a1af
Pipeline
#21691
failed with stages
in 1 minute and 42 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
9 deletions
+1
-9
05-mobile-navbar.js
src/js/05-mobile-navbar.js
+0
-8
header-content.hbs
src/partials/header-content.hbs
+1
-1
No files found.
src/js/05-mobile-navbar.js
View file @
1e567166
...
...
@@ -41,13 +41,5 @@
const
documentList
=
document
.
querySelector
(
'.mobile-product-link'
)
documentList
.
classList
.
toggle
(
'show'
)
const
pathElement
=
documentIcon
.
querySelector
(
'path'
)
if
(
isDocumentOpen
)
{
pathElement
.
setAttribute
(
'd'
,
'M207.029 381.476L12.686 187.132c-9.373-9.373-9.373-24.569 0-33.941l22.667-22.667c9.357-9.357 24.522-9.375 33.901-.04L224 284.505l154.745-154.021c9.379-9.335 24.544-9.317 33.901.04l22.667 22.667c9.373 9.373 9.373 24.569 0 33.941L240.971 381.476c-9.373 9.372-24.569 9.372-33.942 0z'
)
}
else
{
pathElement
.
setAttribute
(
'd'
,
'M240.971 130.524l194.343 194.343c9.373 9.373 9.373 24.569 0 33.941l-22.667 22.667c-9.357 9.357-24.522 9.375-33.901.04L224 227.495 69.255 381.516c-9.379 9.335-24.544 9.317-33.901-.04l-22.667-22.667c-9.373-9.373-9.373-24.569 0-33.941L207.03 130.525c9.372-9.373 24.568-9.373 33.941-.001z'
)
}
})
})()
src/partials/header-content.hbs
View file @
1e567166
...
...
@@ -51,7 +51,7 @@
<ul
class=
"navbar-mobile-menu"
>
<li
id=
"document-toggle"
class=
"mobile-menu-item"
>
Products
<svg
id=
"document-icon"
stroke=
"currentColor"
fill=
"currentColor"
stroke-width=
"0"
viewBox=
"0 0 448 512"
class=
"ml_10"
height=
"1em"
width=
"1em"
xmlns=
"http://www.w3.org/2000/svg"
>
<path
d=
"M2
40.971 130.524l194.343 194.343c9.373 9.373 9.373 24.569 0 33.941l-22.667 22.667c-9.357 9.357-24.522 9.375-33.901.04L224 227.495 69.255 381.516c-9.379 9.335-24.544 9.317-33.901-.04l-22.667-22.667c-9.373-9.373-9.373-24.569 0-33.941L207.03 130.525c9.372-9.373 24.568-9.373 33.941-.001
z"
></path>
<path
d=
"M2
07.029 381.476L12.686 187.132c-9.373-9.373-9.373-24.569 0-33.941l22.667-22.667c9.357-9.357 24.522-9.375 33.901-.04L224 284.505l154.745-154.021c9.379-9.335 24.544-9.317 33.901.04l22.667 22.667c9.373 9.373 9.373 24.569 0 33.941L240.971 381.476c-9.373 9.372-24.569 9.372-33.942 0
z"
></path>
</svg>
</li>
<ul
class=
"mobile-product-link"
>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment