Skip to content

Commit 888949e

Browse files
aquaductapeMilo
authored andcommitted
fix width issue of zoom button
1 parent 259fece commit 888949e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/playground/src/components/zoomDropdown.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ export const ZoomDropdown: Component<{ showMenu: boolean }> = (props) => {
8787
>
8888
<button
8989
type="button"
90-
class="flex flex-row items-center space-x-2 rounded px-2 py-2 opacity-80 hover:opacity-100 md:px-1"
90+
class="flex w-full flex-row items-center space-x-2 rounded px-2 py-2 opacity-80 hover:opacity-100 md:px-1"
9191
classList={{
9292
'rounded-none active:bg-gray-300 hover:bg-gray-300 dark:hover:text-black': props.showMenu,
9393
'bg-gray-300 dark:text-black': open() && props.showMenu,

0 commit comments

Comments
 (0)