Skip to content
Merged
Show file tree
Hide file tree
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
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ const FooterLinksSlotInternal: PuckComponent<FooterLinksSlotProps> = (

return (
<div
className={`${
className={`${puck.isEditing ? "min-h-[30px]" : ""} ${
variant === "secondary"
? `gap-5 flex flex-col md:flex-row w-full ${secondaryItemsAlignment}`
: "w-full grid grid-cols-1 md:grid-cols-5 gap-6"
Expand Down
4 changes: 2 additions & 2 deletions packages/visual-editor/src/components/header/HeaderLinks.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,7 @@ const HeaderLinksComponent: PuckComponent<HeaderLinksProps> = ({
// Early return for empty state
if (validLinks.length + validAlwaysCollapsedLinks.length === 0) {
return puck.isEditing ? (
<nav className="h-5 min-w-[100px] opacity-20" />
<nav className="h-5 min-w-[100px] min-h-[30px] opacity-20" />
) : (
<></>
);
Expand All @@ -296,7 +296,7 @@ const HeaderLinksComponent: PuckComponent<HeaderLinksProps> = ({
<nav
aria-label={ariaLabel}
ref={navRef}
className={`flex md:gap-6 md:items-center ${justifyClass}`}
className={`flex md:gap-6 md:items-center ${justifyClass} ${puck.isEditing ? " min-w-[100px] min-h-[30px]" : ""}`}
>
{/* Hidden measure list for overflow math */}
<ul
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ export const removeDuplicateActionBars = (): void => {
pt("callToAction", "Call To Action"),
pt("components.secondaryHeader", "Secondary Header"),
pt("components.headerLinks", "Header Links"),
pt("components.footerSocialLinksSlot", "Social Links"),
];

targets.forEach((target) => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1975,6 +1975,7 @@ const mainDefaultLayout = {
bgColor: "bg-palette-primary-light",
textColor: "text-black",
},
showSectionHeading: true,
},
data: {
field: "",
Expand Down