Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Nov 8, 2022. It is now read-only.

Commit185b73d

Browse files
authored
fix(sidebar): wrong position fixed when wide screen (#765)
1 parent457038f commit185b73d

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

‎src/containers/Sidebar/styles/index.js‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,12 @@ export const Wrapper = styled.aside.attrs((props) => ({
1212
position: fixed;
1313
height: 100vh;
1414
top: 0;
15-
left: 0;
15+
/*left: 0; */
1616
width:${({ pin})=>(pin ?'260px' :'56px')};
1717
box-shadow:${({ pin})=>(pin ?'3px 0 20px rgba(0, 0, 0, 0.2); ' :'')};
1818
background:${theme('sidebar.bg')};
1919
border-color:${theme('sidebar.borderColor')};
2020
z-index:${cs.zIndex.sidebar};
21-
// overflow: hidden;
2221
2322
transition: width 0.2s, opacity 0.8s, box-shadow 0.1s linear 0.1s,
2423
background-color 0.3s;

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp