Skip to content

Commit

Permalink
add changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
jackahl committed Dec 29, 2023
1 parent 2786705 commit 732da32
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 8 deletions.
1 change: 1 addition & 0 deletions news/6.feature
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Compatiblity with kitconcept volto-light-theme container widths @jackahl
5 changes: 3 additions & 2 deletions src/components/Logo/View.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,9 @@ const View = (props) => {
/>
</UniversalLink>
))}

<h3 className="logo-heading headline">{data.heading}</h3>
{data.heading && (
<h3 className="logo-heading headline">{data.heading}</h3>
)}
{config.blocks.blocksConfig.logo.showDescriptionField &&
data.description && <p>{data.description}</p>}
</div>
Expand Down
9 changes: 3 additions & 6 deletions src/components/Logo/schema.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,12 +36,9 @@ export const LogoBlockSchema = (props) => {
{
id: 'default',
title: 'Default',
fields: [
'logo',
'heading',
config.blocks.blocksConfig.logo.showDescriptionField && 'description',
'link',
],
fields: config.blocks.blocksConfig.logo.showDescriptionField
? ['logo', 'heading', 'description', 'link']
: ['logo', 'heading', 'link'],
},
],
properties: {
Expand Down

0 comments on commit 732da32

Please sign in to comment.