mirror of
https://github.com/streetwriters/notesnook.git
synced 2026-02-23 19:49:56 +01:00
editor: fix toolbar dropdown buttons size on mobile
This commit is contained in:
committed by
Abdullah Atta
parent
4875cfa108
commit
69bb0e3656
@@ -64,6 +64,7 @@ export function Dropdown(props: DropdownProps) {
|
||||
m: 0,
|
||||
bg: isPopupOpen ? "hover" : "transparent",
|
||||
mr: 1,
|
||||
flexShrink: 0,
|
||||
display: "flex",
|
||||
alignItems: "center",
|
||||
":hover": { bg: "hover" },
|
||||
@@ -75,7 +76,9 @@ export function Dropdown(props: DropdownProps) {
|
||||
onMouseDown={(e) => e.preventDefault()}
|
||||
>
|
||||
{typeof selectedItem === "string" ? (
|
||||
<Text sx={{ fontSize: "subBody", mr: 1, color: "text" }}>
|
||||
<Text
|
||||
sx={{ fontSize: "subBody", mr: 1, color: "text", flexShrink: 0 }}
|
||||
>
|
||||
{selectedItem}
|
||||
</Text>
|
||||
) : (
|
||||
|
||||
Reference in New Issue
Block a user