Skip to content

Commit

Permalink
card row polish
Browse files Browse the repository at this point in the history
  • Loading branch information
samipe committed Sep 11, 2024
1 parent d13abc1 commit b2c2ef3
Show file tree
Hide file tree
Showing 7 changed files with 11 additions and 7 deletions.
1 change: 1 addition & 0 deletions docs/assets/index-CBNGUzjQ.css

Large diffs are not rendered by default.

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion docs/assets/index-V4RZFuPu.css

This file was deleted.

4 changes: 2 additions & 2 deletions docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
<link rel="icon" href="/favicon.ico" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>RoboCon - Robot Framework Conference</title>
<script type="module" crossorigin src="/assets/index-m1aH_zN7.js"></script>
<link rel="stylesheet" crossorigin href="/assets/index-V4RZFuPu.css">
<script type="module" crossorigin src="/assets/index-TRO0uQn4.js"></script>
<link rel="stylesheet" crossorigin href="/assets/index-CBNGUzjQ.css">
</head>
<body>
<div id="app"></div>
Expand Down
1 change: 1 addition & 0 deletions src/components/CardItem.vue
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ const props = defineProps({
h1 {
font-size: 1.25rem;
margin-bottom: 1.25rem;
letter-spacing: -0.125rem;
}
:deep(ul) {
padding-left: 0;
Expand Down
7 changes: 5 additions & 2 deletions src/components/SectionRow.vue
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,13 @@ const components = renderEntryList(props.content)
display: flex;
flex-wrap: nowrap;
overflow-x: auto;
column-gap: 1rem;
column-gap: 0.75rem;
scroll-snap-type: x mandatory;
}
.item-column {
flex: 0 0 calc(100% / 3);
flex: 0 0 calc(100% / 3.3);
scroll-snap-align: start;
scroll-margin-inline: 1rem;
}
@media screen and (max-width: 1024px) {
.item-column {
Expand Down
2 changes: 1 addition & 1 deletion src/content/renderContent.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export const renderNodes = () => {
return h(PageSection, { content: node.data.target })
}
if (type === 'row') {
return h(SectionRow, { content: node.data.target.fields.content, class: 'p-large' })
return h(SectionRow, { content: node.data.target.fields.content, class: 'm-large pb-small' })
}
if (type === 'expandableContent') {
return h('details', {}, [
Expand Down

0 comments on commit b2c2ef3

Please sign in to comment.