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

View File

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