{#each blocks as block}
addComponent(block.component)}
>
@@ -240,28 +239,18 @@
flex-direction: row;
align-items: stretch;
}
- .component-grid {
- display: grid;
- grid-template-columns: repeat(3, minmax(0, 1fr));
- gap: var(--spacing-s);
- }
.component {
background-color: var(--spectrum-global-color-gray-200);
border-radius: 4px;
- height: 76px;
display: flex;
- flex-direction: column;
- justify-content: center;
align-items: center;
- text-align: center;
- padding: 0 var(--spacing-s);
- gap: var(--spacing-s);
- padding-top: 4px;
border: 1px solid var(--spectrum-global-color-gray-200);
transition: border-color 130ms ease-out;
- }
- .component.wide {
- grid-column: span 2;
+ flex-direction: row;
+ justify-content: flex-start;
+ padding: var(--spacing-s) var(--spacing-l);
+ gap: var(--spacing-m);
+ overflow: hidden;
}
.component.selected,
.component:hover {
@@ -272,13 +261,7 @@
}
.component :global(.spectrum-Body) {
line-height: 1.2 !important;
- }
-
- .block {
- flex-direction: row;
- justify-content: flex-start;
- height: 48px;
- padding: 0 var(--spacing-l);
- gap: var(--spacing-m);
+ overflow: hidden;
+ text-overflow: ellipsis;
}
diff --git a/packages/client/manifest.json b/packages/client/manifest.json
index fdb5700a5c..3bd1ecfc9f 100644
--- a/packages/client/manifest.json
+++ b/packages/client/manifest.json
@@ -3736,7 +3736,7 @@
"cardsblock": {
"block": true,
"name": "Cards block",
- "icon": "Table",
+ "icon": "PersonalizationField",
"styles": [
"size"
],