Skip to content

Commit 9cae2de

Browse files
committed
fix: clean up whitespace and improve code formatting in Header, FullscreenImage, and HTML components
1 parent 49e864a commit 9cae2de

File tree

3 files changed

+7
-4
lines changed

3 files changed

+7
-4
lines changed

src/blocks/Header/Header.tsx

+1-2
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ export const HeaderBlock = (props: React.PropsWithChildren<HeaderBlockFullProps>
144144
{overtitle && (
145145
<div className={b('overtitle')}>
146146
{typeof overtitle === 'string' ? (
147-
<YFMWrapper
147+
<YFMWrapper
148148
tagName="div"
149149
className={b('overtitle')}
150150
content={overtitle}
@@ -156,7 +156,6 @@ export const HeaderBlock = (props: React.PropsWithChildren<HeaderBlockFullProps>
156156
overtitle
157157
)}
158158
</div>
159-
160159
)}
161160
<YFMWrapper
162161
content={title}

src/components/FullscreenImage/FullscreenImage.scss

+1-1
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ $closeButtonSize: 36px;
123123
position: absolute;
124124
right: 16px;
125125
top: 16px;
126-
126+
127127
&_visible {
128128
opacity: 1;
129129
}

src/components/HTML/HTML.tsx

+5-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,11 @@ export interface HTMLExtraProps {
99
contentClassName?: string;
1010
onlyContent?: boolean;
1111
}
12-
export interface HTMLProps extends HTMLExtraProps, React.PropsWithChildren, QAProps, ClassNameProps {
12+
export interface HTMLProps
13+
extends HTMLExtraProps,
14+
React.PropsWithChildren,
15+
QAProps,
16+
ClassNameProps {
1317
content?: string;
1418
block?: boolean;
1519
itemProp?: string;

0 commit comments

Comments
 (0)