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 1, 2021. It is now read-only.

Commitab5354e

Browse files
committed
style(Sidebar): align icons
1 parent04de1f7 commitab5354e

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

‎containers/Sidebar/index.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ class SidebarContainer extends React.Component {
6767
return(
6868
<Sidebar>
6969
<Banner>
70-
<BannerLogosrc={`${ICON_CMD}/rainbow_logo.svg`}/>
70+
<BannerLogosrc={`${ICON_CMD}/keyboard_logo.svg`}/>
7171
<BannerTitleonClick={logic.loadCommunities}>
7272
CPS 管理后台 @2018
7373
</BannerTitle>

‎containers/Sidebar/styles/index.js‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,11 +39,10 @@ export const Footer = Banner.extend`
3939
bottom: 0px;
4040
width: 250px;
4141
`
42-
4342
exportconstBannerLogo=styled(Img)`
4443
width: 22px;
4544
height: 22px;
46-
border-radius: 100%;
45+
display: block;
4746
`
4847
exportconstSearchLogo=styled(Img)`
4948
width: 22px;
@@ -52,5 +51,6 @@ export const SearchLogo = styled(Img)`
5251
`
5352
exportconstBannerTitle=styled.div`
5453
margin-left: 8px;
55-
margin-top: -4px;
54+
font-size: 0.9rem;
55+
margin-top: 4px;
5656
`

‎containers/Sidebar/styles/menu.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,6 @@ export const MenuTitle = styled.div`
6262
flex-grow: 1;
6363
max-width: 50%;
6464
opacity: 0.6;
65-
margin-top: -10px;
6665
6766
&:hover {
6867
color:${theme('sidebar.menu_link')};
@@ -107,6 +106,7 @@ export const MenuItemIcon = styled(Img)`
107106
opacity:${props=>(props.active ?1 :0.5)};
108107
width: 22px;
109108
height: 22px;
109+
display: block;
110110
`
111111
exportconstMenuCommunitiesIcon=MenuItemIcon.extend`
112112
fill:${theme('sidebar.menu_link')};

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp