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.

fix(sidebar): wrong position fixed when wide screen#765

Merged
mydearxym merged 1 commit intodevfromfix-sidebar-position
Jun 20, 2020
Merged
Changes fromall commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletionssrc/containers/Sidebar/styles/index.js
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -12,13 +12,12 @@ export const Wrapper = styled.aside.attrs((props) => ({
position: fixed;
height: 100vh;
top: 0;
left: 0;
/*left: 0; */
width: ${({ pin }) => (pin ? '260px' : '56px')};
box-shadow: ${({ pin }) => (pin ? '3px 0 20px rgba(0, 0, 0, 0.2); ' : '')};
background: ${theme('sidebar.bg')};
border-color: ${theme('sidebar.borderColor')};
z-index: ${cs.zIndex.sidebar};
// overflow: hidden;

transition: width 0.2s, opacity 0.8s, box-shadow 0.1s linear 0.1s,
background-color 0.3s;
Expand Down

[8]ページ先頭

©2009-2025 Movatter.jp