Move display:flex from outer div to ButtonGroup ul

This commit is contained in:
Henrik Giesel 2021-03-30 03:11:51 +02:00
parent 7f5e9b1b33
commit e25583d7ff
2 changed files with 5 additions and 6 deletions

View File

@ -10,7 +10,10 @@
<style lang="scss">
ul {
display: inline-block;
display: flex;
/* flex-flow: nowrap for a scrollable toolbar */
flex-flow: wrap;
overflow: scroll;
padding-inline-start: 0;
margin-bottom: 0;

View File

@ -10,14 +10,10 @@
<style lang="scss">
div {
display: flex;
flex-wrap: wrap;
position: sticky;
top: 0;
left: 0;
z-index: 5;
padding: 2px;
z-index: 10;
background: var(--bg-color);
border-bottom: 1px solid var(--border);