Skip to content
Snippets Groups Projects
Commit 9f51f562 authored by Paul Kaplan's avatar Paul Kaplan
Browse files

Integrate styling feedback from @TheBrokenRail

parent 78f48dd3
No related branches found
No related tags found
No related merge requests found
......@@ -33,18 +33,41 @@
.tab-list {
height: $stage-menu-height;
width: 250px; /* Match width of the toolbox */
display: flex;
align-items: flex-end;
flex-shrink: 0;
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
font-size: 0.85rem;
font-weight: 500;
font-size: 0.80rem;
/* Overrides for react-tabs styling */
margin: 0 0 0 1rem !important;
margin: 0 !important;
border-bottom: 0 !important;
}
.tab-list .tab {
flex-grow: 1;
height: 80%;
margin-left: 1px;
border-radius: $space $space 0 0;
border: none;
background-color: #F6F8FA;
color: #9AA1B5;
display: flex;
justify-content: center;
align-items: center;
}
.tab-list .tab[aria-selected="true"] {
color: #40B9F5;
}
.tabs {
position: relative;
flex-grow: 1;
......@@ -90,7 +113,7 @@
padding-right: $space;
/* Hides negative space between edge of rounded corners + container, when selected */
user-select: none;
user-select: none;
}
.target-wrapper {
......
......@@ -50,9 +50,9 @@ const GUIComponent = props => {
onSelect={handleTabSelect}
>
<TabList className={styles.tabList}>
<Tab>Scripts</Tab>
<Tab>Costumes</Tab>
<Tab>Sounds</Tab>
<Tab className={styles.tab}>Scripts</Tab>
<Tab className={styles.tab}>Costumes</Tab>
<Tab className={styles.tab}>Sounds</Tab>
</TabList>
<TabPanel className={styles.tabPanel}>
<Box className={styles.blocksWrapper}>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment