1
0
Fork 0
mirror of synced 2024-10-03 19:43:32 +13:00

Begin implementation of components panel.

This commit is contained in:
pngwn 2020-01-20 17:13:58 +00:00
parent 8ef407f44e
commit 9fdcac7c41
2 changed files with 32 additions and 30 deletions

View file

@ -50,24 +50,28 @@ const selectTab = tab =>
height: 100%;
display: flex;
flex-direction: column;
padding: 2rem 1.5rem 2rem 1.5rem;
}
.switcher {
flex: 0 0 auto;
display: flex;
justify-content: space-between;
}
.switcher > button {
display: inline-block;
background-color: rgba(0,0,0,0);
border-style: solid;
border-color: var(--slate);
border: none;
margin: 5px;
padding: 5px;
cursor: pointer;
font-weight: 600;
font-size: 0.85rem;
text-transform: uppercase;
color: #999;
}
.switcher > .selected {
background-color: red;
color: #333;
}
.panel {

View file

@ -186,9 +186,7 @@ const showDialog = () => {
height: 100%;
display: flex;
flex-direction: column;
border-style: solid;
border-width: 1px 0 0 0;
border-color: var(--slate);
}
.title {