aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTyler Schicke <tyler_schicke@brown.edu>2019-03-20 05:10:50 -0400
committerTyler Schicke <tyler_schicke@brown.edu>2019-03-20 05:10:50 -0400
commit208a57b15e6b415659311873431dbe9d5b8d8021 (patch)
tree81839a576f3c69887a6ff16f01e39be0d8ae0ec7 /src
parente418b10b4e515c6ebbe0b9be64e7bfd451ddd11f (diff)
parent44e66095397baa7391a8746d7fa6a55c82e67eab (diff)
Merge branch 'master' of github-tsch-brown:browngraphicslab/Dash-Web
Diffstat (limited to 'src')
-rw-r--r--src/client/views/collections/CollectionFreeFormView.scss35
1 files changed, 20 insertions, 15 deletions
diff --git a/src/client/views/collections/CollectionFreeFormView.scss b/src/client/views/collections/CollectionFreeFormView.scss
index 0e0570397..bdc597a25 100644
--- a/src/client/views/collections/CollectionFreeFormView.scss
+++ b/src/client/views/collections/CollectionFreeFormView.scss
@@ -7,6 +7,9 @@
width: 100%;
}
+ .inking-canvas {
+ transform-origin: 50000px 50000px;
+ }
//nested freeform views
// .collectionfreeformview-container {
// background-image: linear-gradient(to right, $light-color-secondary 1px, transparent 1px),
@@ -14,22 +17,25 @@
// background-size: 30px 30px;
// }
+ box-shadow: $intermediate-color 0.2vw 0.2vw 0.8vw;
border: 0px solid $light-color-secondary;
border-radius: $border-radius;
box-sizing: border-box;
position: relative;
+ overflow: hidden;
top: 0;
left: 0;
width: 100%;
height: 100%;
- overflow: hidden;
- box-shadow: $intermediate-color 0.2vw 0.2vw 0.8vw;
.collectionfreeformview {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
+ .inking-canvas {
+ transform-origin: 50000px 50000px;
+ }
}
}
.collectionfreeformview-overlay {
@@ -41,33 +47,32 @@
background: $light-color-secondary;
}
+ .inking-canvas {
+ transform-origin: 50000px 50000px;
+ }
+
opacity: 0.99;
- position:absolute;
border: 0px solid transparent;
border-radius: $border-radius;
- overflow: hidden;
box-sizing: border-box;
+ position:relative;
+ overflow: hidden;
top: 0;
left: 0;
width: 100%;
height: 100%;
.collectionfreeformview {
- .collectionfreeformview > .jsx-parser{
- position:absolute;
- height: 100%;
- }
- .formattedTextBox-cont {
- background:yellow;
- }
-
- // overflow: hidden;
- // border-style: solid;
- // box-sizing: border-box;
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
+ .inking-canvas {
+ transform-origin: 50000px 50000px;
+ }
+ .formattedTextBox-cont {
+ background:yellow;
+ }
}
}