freealise commited on
Commit
6d7da38
·
verified ·
1 Parent(s): d3bb687

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +9 -4
app.py CHANGED
@@ -973,6 +973,13 @@ with gr.Blocks(css=css, js=js, head=head) as demo:
973
  * {
974
  user-select: none;
975
  }
 
 
 
 
 
 
 
976
  #chart hr {
977
  width: 1px;
978
  height: 1px;
@@ -993,7 +1000,7 @@ with gr.Blocks(css=css, js=js, head=head) as demo:
993
  touch-action: none;
994
  }
995
  #compass_box {
996
- top:1.5em;
997
  right:3px;
998
  position:absolute;
999
  border:1px dashed gray;
@@ -1005,8 +1012,6 @@ with gr.Blocks(css=css, js=js, head=head) as demo:
1005
  }
1006
  #compass {
1007
  position:absolute;
1008
- top:-1px;
1009
- left:-1px;
1010
  transform:rotate(0deg);
1011
  border:1px solid black;
1012
  border-radius: 50%;
@@ -1014,7 +1019,7 @@ with gr.Blocks(css=css, js=js, head=head) as demo:
1014
  height:100%;
1015
  padding:0;
1016
  margin:0;
1017
- line-height:1.45em;
1018
  letter-spacing:0;
1019
  }
1020
  #compass b {
 
973
  * {
974
  user-select: none;
975
  }
976
+ html, body {
977
+ user-select: none;
978
+ }
979
+ #model3D canvas {
980
+ user-select: none;
981
+ touch-action: none;
982
+ }
983
  #chart hr {
984
  width: 1px;
985
  height: 1px;
 
1000
  touch-action: none;
1001
  }
1002
  #compass_box {
1003
+ top:2em;
1004
  right:3px;
1005
  position:absolute;
1006
  border:1px dashed gray;
 
1012
  }
1013
  #compass {
1014
  position:absolute;
 
 
1015
  transform:rotate(0deg);
1016
  border:1px solid black;
1017
  border-radius: 50%;
 
1019
  height:100%;
1020
  padding:0;
1021
  margin:0;
1022
+ line-height:1em;
1023
  letter-spacing:0;
1024
  }
1025
  #compass b {