Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions src/components/Text/Text.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ export default function Text({ data }) {
<div className="container-text mt-3 mt-xl-5" style={{
backgroundImage: `url(${bgImage})`,
}}>

{title !== "" && title !== undefined && title !== null ? (
<div className="container text d-flex flex-column flex-md-row gap-xl-5">
<div className="title">
Expand All @@ -20,10 +20,11 @@ export default function Text({ data }) {
<MarkdownView
markdown={description}
className="description"
style={{margin: !bgImage && '0rem'}}
/>
</div>
) : (
<div className="container container-markdown">
<div className="container container-markdown" style={{padding: !bgImage && '0rem'}}>
<MarkdownView
markdown={description}
className="notTitle"
Expand Down