thibaud frere
commited on
Commit
·
03551cf
1
Parent(s):
0fcbaa8
fix palette swatch size, fix doc
Browse files
app/src/components/HtmlEmbed.astro
CHANGED
|
@@ -64,7 +64,7 @@ const mountId = `frag-${Math.random().toString(36).slice(2)}`;
|
|
| 64 |
</script>
|
| 65 |
|
| 66 |
<style>
|
| 67 |
-
.html-embed { margin: 0; }
|
| 68 |
.html-embed__title {
|
| 69 |
text-align: left;
|
| 70 |
font-weight: 600;
|
|
|
|
| 64 |
</script>
|
| 65 |
|
| 66 |
<style>
|
| 67 |
+
.html-embed { margin: 0; overflow: hidden; }
|
| 68 |
.html-embed__title {
|
| 69 |
text-align: left;
|
| 70 |
font-weight: 600;
|
app/src/content/chapters/getting-started.mdx
CHANGED
|
@@ -55,5 +55,5 @@ git push
|
|
| 55 |
Serving the `dist/` directory on any static host is enough to deliver the site.
|
| 56 |
</Note>
|
| 57 |
<Note title="Note">
|
| 58 |
-
A [
|
| 59 |
</Note>
|
|
|
|
| 55 |
Serving the `dist/` directory on any static host is enough to deliver the site.
|
| 56 |
</Note>
|
| 57 |
<Note title="Note">
|
| 58 |
+
A [slugified-title].pdf and thumb.jpg are also generated at build time.<br/>You can find them in the public folder.
|
| 59 |
</Note>
|
app/src/content/embeds/palettes.html
CHANGED
|
@@ -3,7 +3,7 @@
|
|
| 3 |
.palettes .palettes__grid { display: grid; grid-template-columns: 1fr; gap: 12px; }
|
| 4 |
.palettes .palette-card { position: relative; display: grid; grid-template-columns: auto 1fr 260px; align-items: stretch; gap: 14px; border: 1px solid var(--border-color); border-radius: 10px; background: var(--surface-bg); padding: 12px; transition: box-shadow .18s ease, transform .18s ease, border-color .18s ease; }
|
| 5 |
/* removed circular badge */
|
| 6 |
-
.palettes .palette-card__swatches { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); grid-auto-rows: 1fr; gap: 8px; margin: 0;
|
| 7 |
.palettes .palette-card__swatches .sw { width: 100%; min-width: 0; min-height: 0; border-radius: 8px; border: 1px solid var(--border-color); }
|
| 8 |
.palettes .palette-card__content { display: flex; flex-direction: row; align-items: center; justify-content: center; gap: 6px; min-width: 0; padding-right: 24px; border-right: 1px solid var(--border-color); }
|
| 9 |
.palettes .palette-card__content__info { display: flex; flex-direction: column; }
|
|
|
|
| 3 |
.palettes .palettes__grid { display: grid; grid-template-columns: 1fr; gap: 12px; }
|
| 4 |
.palettes .palette-card { position: relative; display: grid; grid-template-columns: auto 1fr 260px; align-items: stretch; gap: 14px; border: 1px solid var(--border-color); border-radius: 10px; background: var(--surface-bg); padding: 12px; transition: box-shadow .18s ease, transform .18s ease, border-color .18s ease; }
|
| 5 |
/* removed circular badge */
|
| 6 |
+
.palettes .palette-card__swatches { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); grid-auto-rows: 1fr; gap: 8px; margin: 0; min-height: 20px; }
|
| 7 |
.palettes .palette-card__swatches .sw { width: 100%; min-width: 0; min-height: 0; border-radius: 8px; border: 1px solid var(--border-color); }
|
| 8 |
.palettes .palette-card__content { display: flex; flex-direction: row; align-items: center; justify-content: center; gap: 6px; min-width: 0; padding-right: 24px; border-right: 1px solid var(--border-color); }
|
| 9 |
.palettes .palette-card__content__info { display: flex; flex-direction: column; }
|