Move display:flex from outer div to ButtonGroup ul
This commit is contained in:
parent
7f5e9b1b33
commit
e25583d7ff
@ -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;
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user