Skip to content

Commit 9975893

Browse files
committed
wip
1 parent 456fb74 commit 9975893

File tree

4 files changed

+19
-10
lines changed

4 files changed

+19
-10
lines changed

entry_types/scrolled/package/src/contentElements/externalLinkList/frontend/ExternalLink.module.css

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414

1515
.item > a {
1616
text-decoration: none;
17-
display: block;
1817
}
1918

2019
.outlined::before {

entry_types/scrolled/package/src/contentElements/externalLinkList/frontend/ExternalLinkList.js

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -79,10 +79,10 @@ export function ExternalLinkList(props) {
7979
const linkAlignment = scrollerEnabled ? 'left' : props.configuration.linkAlignment;
8080

8181
return (
82-
<div className={styles.container}>
83-
<div className={styles.wrapper}>
84-
<Scroller enabled={scrollerEnabled}>
85-
{({scrollerRef, handleScroll}) =>
82+
<div className={styles.wrapper}>
83+
<Scroller enabled={scrollerEnabled}>
84+
{({scrollerRef, handleScroll}) =>
85+
<div className={styles.container}>
8686
<ul ref={scrollerRef}
8787
className={classNames(
8888
styles.list,
@@ -123,9 +123,9 @@ export function ExternalLinkList(props) {
123123
onClick={event => handleItemClick(event, link.id)} />
124124
)}
125125
</ul>
126-
}
127-
</Scroller>
128-
</div>
126+
</div>
127+
}
128+
</Scroller>
129129
</div>
130130
);
131131
}

entry_types/scrolled/package/src/contentElements/externalLinkList/frontend/ExternalLinkList.module.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
@value contentColorScope from "pageflow-scrolled/values/colors.module.css";
22

33
.container {
4+
grid-column: 2;
45
container-type: inline-size;
56
}
67

@@ -25,7 +26,6 @@
2526
}
2627

2728
.list {
28-
grid-column: 2;
2929
composes: scope-externalLinks from global;
3030
composes: contentColorScope;
3131
padding: 0;

entry_types/scrolled/package/src/contentElements/externalLinkList/frontend/textPositons/below.module.css

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
.list {
22
--columns: 1;
33
--gap: 1rem;
4-
--reference-width: min(var(--reference-max-width), 100cqw - 2 * var(--content-margin));
4+
--reference-width: min(var(--reference-max-width), 100%);
55

66
display: flex;
77
flex-wrap: wrap;
@@ -92,6 +92,11 @@
9292
--gap: 1.5rem;
9393
}
9494

95+
.linkWidth-xs,
96+
.linkWidth-full-xs {
97+
--gap: 1rem;
98+
}
99+
95100
.linkWidth-xs {
96101
--columns: 3;
97102
}
@@ -114,6 +119,11 @@
114119
--gap: 2rem;
115120
}
116121

122+
.linkWidth-xs,
123+
.linkWidth-full-xs {
124+
--gap: 1rem;
125+
}
126+
117127
.linkWidth-xs {
118128
--columns: 4;
119129
}

0 commit comments

Comments
 (0)