Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
phsl
/
new-api
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
63e149b1
authored
May 18, 2025
by
Apple\Apple
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
🎨
style: Modify the transition shadow effect of the headerBar
parent
1f78dd59
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
web/src/components/HeaderBar.js
+2
-2
web/src/components/PageLayout.js
+1
-1
No files found.
web/src/components/HeaderBar.js
View file @
63e149b1
...
...
@@ -224,7 +224,7 @@ const HeaderBar = () => {
<
Avatar
size
=
"extra-small"
color
=
{
stringToColor
(
userState
.
user
.
username
)}
className
=
"
shadow-sm
mr-1"
className
=
"mr-1"
>
{
userState
.
user
.
username
[
0
].
toUpperCase
()}
<
/Avatar
>
...
...
@@ -295,7 +295,7 @@ const HeaderBar = () => {
};
return
(
<
header
className
=
"bg-semi-color-bg-0 text-semi-color-text-0 s
hadow-sm s
ticky top-0 z-50 transition-colors duration-300"
>
<
header
className
=
"bg-semi-color-bg-0 text-semi-color-text-0 sticky top-0 z-50 transition-colors duration-300"
>
<
div
className
=
"w-full px-4"
>
<
div
className
=
"flex items-center justify-between h-16"
>
<
div
className
=
"flex items-center"
>
...
...
web/src/components/PageLayout.js
View file @
63e149b1
...
...
@@ -88,7 +88,7 @@ const PageLayout = () => {
width
:
'100%'
,
top
:
0
,
zIndex
:
100
,
bo
xShadow
:
'0 1px 6px rgba(0, 0, 0, 0.08
)'
,
bo
rderBottom
:
'1px solid var(--semi-color-border
)'
,
}}
>
<
HeaderBar
/>
...
...
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