Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
proxy-manager-frontend
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
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
aolda
proxy-manager-frontend
Commits
1fe8ed73
Commit
1fe8ed73
authored
4 months ago
by
한동현
Browse files
Options
Downloads
Patches
Plain Diff
fix: 불필요한 스크롤이 생기는 문제 수정
parent
d0ed75c9
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/components/ui/sidebar.tsx
+3
-3
3 additions, 3 deletions
src/components/ui/sidebar.tsx
with
3 additions
and
3 deletions
src/components/ui/sidebar.tsx
+
3
−
3
View file @
1fe8ed73
...
...
@@ -195,7 +195,7 @@ function Sidebar({
{
/* This is what handles the sidebar gap on desktop */
}
<
div
className
=
{
cn
(
'
relative
h-svh
w-(--sidebar-width) bg-transparent transition-[width] duration-200 ease-linear
'
,
'
relative w-(--sidebar-width) bg-transparent transition-[width] duration-200 ease-linear
'
,
'
group-data-[collapsible=offcanvas]:w-0
'
,
'
group-data-[side=right]:rotate-180
'
,
variant
===
'
floating
'
||
variant
===
'
inset
'
...
...
@@ -280,8 +280,8 @@ function SidebarInset({ className, ...props }: React.ComponentProps<'main'>) {
<
main
data-slot
=
"sidebar-inset"
className
=
{
cn
(
'
bg-background relative flex
min-h-svh
flex-1 flex-col
'
,
'
peer-data-[variant=inset]:min-h-[calc(100svh-(--spacing(4)))]
md:peer-data-[variant=inset]:m-2 md:peer-data-[variant=inset]:ml-0 md:peer-data-[variant=inset]:rounded-xl md:peer-data-[variant=inset]:shadow-sm md:peer-data-[variant=inset]:peer-data-[state=collapsed]:ml-2
'
,
'
bg-background relative flex
w-full
flex-1 flex-col
'
,
'
md:peer-data-[variant=inset]:m-2 md:peer-data-[variant=inset]:ml-0 md:peer-data-[variant=inset]:rounded-xl md:peer-data-[variant=inset]:shadow-sm md:peer-data-[variant=inset]:peer-data-[state=collapsed]:ml-2
'
,
className
)
}
{
...
props
}
...
...
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