aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSophie Zhang <sophie_zhang@brown.edu>2024-04-30 18:29:08 -0400
committerSophie Zhang <sophie_zhang@brown.edu>2024-04-30 18:29:08 -0400
commit90016b133395c93f897c614ffee761b6da587e0f (patch)
tree95ef3782c08f680439e8cf411da03f3b55ff6862
parent53ccca391d317f3d9b7c5cb693979451a4655836 (diff)
pre deleting unneeded
-rw-r--r--src/client/views/nodes/trails/PresBox.scss6
-rw-r--r--src/client/views/nodes/trails/PresBox.tsx2
2 files changed, 7 insertions, 1 deletions
diff --git a/src/client/views/nodes/trails/PresBox.scss b/src/client/views/nodes/trails/PresBox.scss
index 2c56cf698..58c9b0b42 100644
--- a/src/client/views/nodes/trails/PresBox.scss
+++ b/src/client/views/nodes/trails/PresBox.scss
@@ -38,6 +38,12 @@
// Effect Animations
+.presBox-effects {
+ display: grid;
+ grid-template-columns: auto auto;
+ gap: 8px;
+}
+
.presBox-effect-row {
display: flex;
gap: 8px;
diff --git a/src/client/views/nodes/trails/PresBox.tsx b/src/client/views/nodes/trails/PresBox.tsx
index 2d93f8656..cf97dee1a 100644
--- a/src/client/views/nodes/trails/PresBox.tsx
+++ b/src/client/views/nodes/trails/PresBox.tsx
@@ -2286,7 +2286,7 @@ export class PresBox extends ViewBoxBaseComponent<FieldViewProps>() {
</div>
</div>
{/* Preview Animations */}
- <div>
+ <div className="presBox-effects">
{this.generatedAnimations.map((elem, i) => (
<div
key={i}