git.s-ol.nu isomorphic-kb-explorer / master
flex toolbar s-ol a month ago
1 changed file(s) with 4 addition(s) and 4 deletion(s). Raw diff Collapse all Expand all
6363 justfiy-content: space-between;
6464 }
6565
66 nav > .group, nav > .spacer {
66 nav > .group {
67 flex: 1 0 auto;
68
6769 display: flex;
70 justify-content: center;
6871 align-items: baseline;
6972 padding: 0.25em 1em;
7073 gap: 1em;
7679 nav > .group:nth-child(2n) {
7780 background: #363636;
7881 }
79
80 nav > .spacer { flex: 1; }
8182 `);
8283
8384 export const Toolbar = ({ state, setState, midi }) => {
159160 />
160161 <button onClick={midi.reload}>↻</button>
161162 </div>
162 <div className="spacer" />
163163 </nav>
164164 );
165165 };