fix: update style

This commit is contained in:
tristan 2019-09-09 18:02:52 +08:00
parent 3eae222f42
commit ac28698ad3
3 changed files with 3 additions and 4 deletions

View File

@ -43,12 +43,11 @@ const Wrapper = styled.section`
position: fixed;
bottom: 0;
left: 0;
z-index: 999;
padding: 0 1rem;
z-index: 999;
.sets {
display: flex;
align-items: flex-start;
width: 84vw;
}
}
nav {
@ -57,6 +56,7 @@ const Wrapper = styled.section`
.colors {
display: flex;
flex-wrap: wrap;
align-content: flex-start;
min-width: 3rem;
max-width: 20rem;
height: 100vh;

View File

@ -255,7 +255,7 @@
{ "hex": "#a29b7c", "name": "苍黄", "intro": "" },
{ "hex": "#7397ab", "name": "苍青", "intro": "" },
{ "hex": "#395260", "name": "苍黑", "intro": "" },
{ "hex": "#d1d9e0", "name": "苍白", "intro": "准确的说是掺入不同灰度级别的灰色" }
{ "hex": "#d1d9e0", "name": "苍白", "intro": "准确的说是掺入不同灰度级别的灰色" }
]
},
{

View File

@ -9,7 +9,6 @@ const Wrapper = styled.li.attrs(({ color }) => ({
color: #fff;
border-top: 0.4rem solid;
display: flex;
align-self: flex-start;
flex-direction: row;
writing-mode: vertical-lr;
padding: 0.5rem 0.2rem 0.4rem 0.2rem;