diff options
author | brynnchernosky <56202540+brynnchernosky@users.noreply.github.com> | 2023-05-03 17:41:50 -0400 |
---|---|---|
committer | brynnchernosky <56202540+brynnchernosky@users.noreply.github.com> | 2023-05-03 17:41:50 -0400 |
commit | 743cf203720ccfa89a48095ef26858a3ee2b4622 (patch) | |
tree | 194750a6977d40a90228b39150678700f15c8598 | |
parent | d7b4700e0a00349c2961f04f5b9d1b882cca6746 (diff) |
styling
-rw-r--r-- | src/client/views/nodes/PhysicsBox/PhysicsSimulationBox.scss | 2 | ||||
-rw-r--r-- | src/client/views/nodes/PhysicsBox/PhysicsSimulationBox.tsx | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/client/views/nodes/PhysicsBox/PhysicsSimulationBox.scss b/src/client/views/nodes/PhysicsBox/PhysicsSimulationBox.scss index 2e16417f5..7193e3157 100644 --- a/src/client/views/nodes/PhysicsBox/PhysicsSimulationBox.scss +++ b/src/client/views/nodes/PhysicsBox/PhysicsSimulationBox.scss @@ -11,7 +11,7 @@ .mechanicsSimulationEquationContainer { position: fixed; - left: 70%; + left: 60%; padding: 1em; .mechanicsSimulationControls { diff --git a/src/client/views/nodes/PhysicsBox/PhysicsSimulationBox.tsx b/src/client/views/nodes/PhysicsBox/PhysicsSimulationBox.tsx index 9caf41445..b24591a0d 100644 --- a/src/client/views/nodes/PhysicsBox/PhysicsSimulationBox.tsx +++ b/src/client/views/nodes/PhysicsBox/PhysicsSimulationBox.tsx @@ -111,7 +111,7 @@ export default class PhysicsSimulationBox extends ViewBoxAnnotatableComponent<Fi this.layoutDoc._height = 800; this.xMax = this.layoutDoc._width*0.6; this.yMax = this.layoutDoc._height*0.9; - this.radius = 100; + this.radius = 75; this.dataDoc.reviewCoefficient = this.dataDoc.reviewCoefficient ?? 0; this.dataDoc.questionVariables = this.dataDoc.questionVariables ?? []; this.dataDoc.accelerationXDisplay = this.dataDoc.accelerationXDisplay ?? 0; @@ -219,7 +219,7 @@ export default class PhysicsSimulationBox extends ViewBoxAnnotatableComponent<Fi componentDidUpdate() { this.xMax = this.layoutDoc._width*0.6; this.yMax = this.layoutDoc._height*0.9; - this.radius = 0.1*this.layoutDoc._height ?? 100; + this.radius = 0.9*this.layoutDoc._height ?? 75; } setupSimulation = (simulationType: string, mode: string) => { |