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">
|
<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;
|
||||||
|
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user