Skip to content

Commit e8d8bd3

Browse files
authored
chore: minor fixes and updates to aura dev page (#10193)
1 parent 1550113 commit e8d8bd3

File tree

3 files changed

+12
-6
lines changed

3 files changed

+12
-6
lines changed
Lines changed: 5 additions & 0 deletions
Loading

dev/aura.html

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -232,11 +232,13 @@
232232

233233
/* TODO re-evaluate MDL API, how to achieve this */
234234
.dashboard-section::part(master) {
235-
flex-basis: 15%;
235+
flex-basis: 15em;
236+
flex-grow: 0.1;
236237
}
237238

238239
.dashboard-section::part(detail) {
239-
flex-basis: 85%;
240+
flex-basis: 85em;
241+
flex-grow: 2;
240242
}
241243

242244
/* TODO part of Aura? */
@@ -398,7 +400,7 @@ <h1>Components</h1>
398400

399401
.components-view .component {
400402
display: flex;
401-
height: 200px;
403+
height: calc(200px - var(--vaadin-gap-s));
402404
align-items: center;
403405
justify-content: center;
404406
border-radius: var(--vaadin-radius-m);
@@ -610,7 +612,7 @@ <h6>Heading</h6>
610612

611613
<div class="aura-surface component widest tall no-padding">
612614
<vaadin-grid theme="no-border">
613-
<vaadin-grid-selection-column></vaadin-grid-selection-column>
615+
<vaadin-grid-selection-column auto-select></vaadin-grid-selection-column>
614616
<vaadin-grid-column path="name"></vaadin-grid-column>
615617
<vaadin-grid-column path="email"></vaadin-grid-column>
616618
</vaadin-grid>
@@ -688,8 +690,8 @@ <h3>Edit Theme</h3>
688690
<aura-font-family-control label="--aura-font-family"></aura-font-family-control>
689691
<hr />
690692
<vaadin-button id="resetAll">
693+
<vaadin-icon src="./assets/lucide-icons/rotate-ccw.svg" slot="prefix"></vaadin-icon>
691694
Reset All
692-
<vaadin-icon icon="lucide:rotate-ccw"></vaadin-icon>
693695
</vaadin-button>
694696
</vaadin-vertical-layout>
695697
</vaadin-popover>

dev/aura/aura-view.css

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@
1717
padding: var(--vaadin-padding-m);
1818
display: flex;
1919
align-items: center;
20-
gap: var(--vaadin-gap-xs);
2120
}
2221

2322
:is(.aura-view > header, .aura-view-header) :is(h1, h2, h3, h4, h5, h6, .aura-view-heading) {

0 commit comments

Comments
 (0)