diff --git a/frontend/src/app/pages/particles/components/particle/particle.component.html b/frontend/src/app/pages/particles/components/particle/particle.component.html index 313a3c0..849b497 100644 --- a/frontend/src/app/pages/particles/components/particle/particle.component.html +++ b/frontend/src/app/pages/particles/components/particle/particle.component.html @@ -10,30 +10,30 @@ Current color: {{ selectedColor }} - + Select Particle Type - - @for (type of filteredParticleTypes | async; track type) { - - {{ type }} - - } - - - - -
- - - - Size: {{ selectedSize }} -
+ placeholder="Search for a particle type" + matInput + [formControl]="particleTypeControl" + [matAutocomplete]="auto"> + + @for (type of filteredParticleTypes | async; track type) { + + {{ type }} + + } + +
- - - + +
+ + + + Size: {{ selectedSize }} +
+ + + + diff --git a/frontend/src/app/pages/particles/components/properties/properties.component.html b/frontend/src/app/pages/particles/components/properties/properties.component.html index 8299662..31bb77a 100644 --- a/frontend/src/app/pages/particles/components/properties/properties.component.html +++ b/frontend/src/app/pages/particles/components/properties/properties.component.html @@ -9,9 +9,6 @@ Particle Name - - -
Display Name @@ -27,16 +24,6 @@ } -
- -
- - Lore - - -
- -
Display Item @@ -44,20 +31,29 @@
- - Permission - + + Lore +
- Package Permission + Permission name + + + + Package name
+ + Random Offset + + Frame Delay @@ -69,27 +65,16 @@ Repeat -
- -
Repeat Delay - -
+ placeholder="Enter repeat delay"> + + -
- - Random Offset - - -
- -
- Stationary -
- - - +
+ Stationary +
+ + + diff --git a/frontend/src/app/pages/particles/components/properties/properties.component.scss b/frontend/src/app/pages/particles/components/properties/properties.component.scss index 2fb7996..1076633 100644 --- a/frontend/src/app/pages/particles/components/properties/properties.component.scss +++ b/frontend/src/app/pages/particles/components/properties/properties.component.scss @@ -1,5 +1,12 @@ .form-row { - margin-bottom: 15px; + display: grid; + grid-template-columns: repeat(2, 1fr); + gap: 16px; + align-items: start; +} + +.lore-double { + grid-column: span 2; } .card-div { diff --git a/frontend/src/app/pages/particles/components/properties/properties.component.spec.ts b/frontend/src/app/pages/particles/components/properties/properties.component.spec.ts deleted file mode 100644 index 33213d7..0000000 --- a/frontend/src/app/pages/particles/components/properties/properties.component.spec.ts +++ /dev/null @@ -1,23 +0,0 @@ -import { ComponentFixture, TestBed } from '@angular/core/testing'; - -import { PropertiesComponent } from './properties.component'; - -describe('PropertiesComponent', () => { - let component: PropertiesComponent; - let fixture: ComponentFixture; - - beforeEach(async () => { - await TestBed.configureTestingModule({ - imports: [PropertiesComponent] - }) - .compileComponents(); - - fixture = TestBed.createComponent(PropertiesComponent); - component = fixture.componentInstance; - fixture.detectChanges(); - }); - - it('should create', () => { - expect(component).toBeTruthy(); - }); -}); diff --git a/frontend/src/app/pages/particles/particles.component.html b/frontend/src/app/pages/particles/particles.component.html index d32f2f8..8d920de 100644 --- a/frontend/src/app/pages/particles/particles.component.html +++ b/frontend/src/app/pages/particles/particles.component.html @@ -10,8 +10,9 @@
-
+
+
@@ -25,7 +26,6 @@
-