Do not use overflow-x on ButtonToolbar

* Fixes deck-options dropdown not showing.
  It seems like it's no longer necessary
This commit is contained in:
Henrik Giesel 2021-09-09 17:50:02 +02:00
parent 63c00db502
commit 75ed24b7ea

View file

@ -80,8 +80,7 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
<div <div
bind:this={buttonToolbarRef} bind:this={buttonToolbarRef}
{id} {id}
class={`btn-toolbar container wrap-variable ${className}`} class="btn-toolbar container wrap-variable {className}"
class:overflow={!wrap}
class:nightMode class:nightMode
{style} {style}
role="toolbar" role="toolbar"
@ -105,8 +104,4 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
.wrap-variable { .wrap-variable {
flex-wrap: var(--buttons-wrap); flex-wrap: var(--buttons-wrap);
} }
.overflow {
overflow-x: auto;
}
</style> </style>