Skip to content

Commit 0c70ea7

Browse files
hejsztynxCopilot
andauthored
fix: css tweaks
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
1 parent bdf9483 commit 0c70ea7

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

src/web/EnrichedText.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -272,8 +272,7 @@
272272
position: relative;
273273
list-style: none;
274274
pointer-events: none;
275-
min-height: max(1lh, var(--et-checkbox-box-size, 24px)
276-
);
275+
min-height: max(1lh, var(--et-checkbox-box-size, 24px));
277276
}
278277

279278
.et-view ul[data-type="checkbox"] > li > p {
@@ -297,6 +296,7 @@
297296
}
298297

299298
.et-view ul[data-type="checkbox"] > li > label {
299+
display: inline-flex;
300300
align-items: center;
301301
gap: 0;
302302
margin: 0;

src/web/EnrichedText.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ export const EnrichedText = memo(
5959

6060
return (
6161
<>
62-
<style>{mentionRulesCSS}</style>
62+
{mentionRulesCSS ? <style>{mentionRulesCSS}</style> : null}
6363
<div
6464
ref={containerRef}
6565
style={finalStyle}

0 commit comments

Comments
 (0)