mirror of
https://github.com/streetwriters/notesnook.git
synced 2025-12-16 11:47:54 +01:00
mobile: fix styles in editor
This commit is contained in:
@@ -34,7 +34,11 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.ProseMirror > :first-child {
|
.ProseMirror > :first-child {
|
||||||
margin-top: 0.4em !important;
|
margin-top: 5px !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.ProseMirror:first-child {
|
||||||
|
margin-top: 0px !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
#root {
|
#root {
|
||||||
|
|||||||
@@ -580,7 +580,8 @@ const Tiptap = ({
|
|||||||
display: "flex",
|
display: "flex",
|
||||||
alignItems: "center",
|
alignItems: "center",
|
||||||
padding: "0px 16px",
|
padding: "0px 16px",
|
||||||
paddingBottom: "6px"
|
paddingBottom: "3px",
|
||||||
|
boxSizing: "border-box"
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
<StatusBar
|
<StatusBar
|
||||||
|
|||||||
@@ -77,26 +77,19 @@ function StatusBar({
|
|||||||
fontSize: 12,
|
fontSize: 12,
|
||||||
color: "var(--nn_secondary_paragraph)",
|
color: "var(--nn_secondary_paragraph)",
|
||||||
paddingBottom: 0,
|
paddingBottom: 0,
|
||||||
|
fontFamily: "Inter",
|
||||||
userSelect: "none"
|
userSelect: "none"
|
||||||
};
|
};
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div
|
<p
|
||||||
style={{
|
onMouseDown={(e) => {
|
||||||
display: "flex",
|
setShowChars(!showChars);
|
||||||
height: "25px",
|
|
||||||
alignItems: "center"
|
|
||||||
}}
|
}}
|
||||||
|
style={paragraphStyle}
|
||||||
>
|
>
|
||||||
<p
|
{showChars ? strings.charactersCount(chars) : words}
|
||||||
onMouseDown={(e) => {
|
</p>
|
||||||
setShowChars(!showChars);
|
|
||||||
}}
|
|
||||||
style={paragraphStyle}
|
|
||||||
>
|
|
||||||
{showChars ? strings.charactersCount(chars) : words}
|
|
||||||
</p>
|
|
||||||
</div>
|
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -55,7 +55,6 @@ function Tags(props: { settings: Settings; loading?: boolean }) {
|
|||||||
style={{
|
style={{
|
||||||
display: "flex",
|
display: "flex",
|
||||||
alignItems: "center",
|
alignItems: "center",
|
||||||
minHeight: "25px",
|
|
||||||
opacity: props.loading ? 0 : 1,
|
opacity: props.loading ? 0 : 1,
|
||||||
gap: 6
|
gap: 6
|
||||||
}}
|
}}
|
||||||
|
|||||||
Reference in New Issue
Block a user