Skip to content

Commit

Permalink
Sidebar, option design chnages (#177)
Browse files Browse the repository at this point in the history
  • Loading branch information
ChaitanyaGadodia authored and ritz078 committed Dec 28, 2018
1 parent 2cd9164 commit b010866
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 11 deletions.
3 changes: 2 additions & 1 deletion src/components/Option.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@ class Option extends React.Component<OptionProps> {
},
css({
marginLeft: "10px",
color: isSelected ? colors.violet.base : colors.gray.light
color: isSelected ? colors.violet.base : colors.gray.light,
fontSize: "20px"
})
);
return multiSelect ? <i className={iconClass} /> : null;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ exports[`Option component snapshot for multi select 1`] = `
.emotion-1 {
margin-left: 10px;
color: #E0E0E0;
font-size: 20px;
}
.emotion-2 {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -721,6 +721,7 @@ Array [
.emotion-1 {
margin-left: 10px;
color: #E0E0E0;
font-size: 20px;
}
<div
Expand Down
10 changes: 5 additions & 5 deletions src/components/__tests__/__snapshots__/sidebar.test.tsx.snap
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,8 @@ Array [
.emotion-0 {
background-color: #ffffff;
border-radius: 3px;
height: 50px;
width: 50px;
height: 40px;
width: 40px;
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
Expand All @@ -85,13 +85,13 @@ Array [
-ms-flex-pack: center;
justify-content: center;
cursor: pointer;
margin-left: -70px;
margin-left: -60px;
margin-top: 20px;
position: absolute;
}
.emotion-0 i {
font-size: 25px;
font-size: 14px;
color: #101721;
}
Expand All @@ -114,7 +114,7 @@ Array [
.emotion-0 i {
float: right;
color: #6B7785;
font-size: 20px;
font-size: 14px;
}
}
Expand Down
10 changes: 5 additions & 5 deletions src/components/styles/Sidebar.styles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,17 +14,17 @@ export const sidebarWrapperStyle = css({
export const closeStyle = css({
backgroundColor: colors.white.base,
borderRadius: constants.borderRadius,
height: 50,
width: 50,
height: 40,
width: 40,
display: "flex",
alignItems: "center",
justifyContent: "center",
cursor: "pointer",
marginLeft: -70,
marginLeft: -60,
marginTop: 20,
position: "absolute",
i: {
fontSize: 25,
fontSize: 14,
color: colors.gray.darker
},
"@media (max-width: 800px)": {
Expand All @@ -37,7 +37,7 @@ export const closeStyle = css({
i: {
float: "right",
color: colors.gray.dark,
fontSize: 20
fontSize: 14
}
}
});
Expand Down

1 comment on commit b010866

@vercel
Copy link

@vercel vercel bot commented on b010866 Dec 28, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully aliased the URL https://pebble-nonhztoxlq.now.sh to the following alias.

Please sign in to comment.