bilca commited on
Commit
c3fb31a
·
verified ·
1 Parent(s): b5ef81f

Update index_sans_gif.js

Browse files
Files changed (1) hide show
  1. index_sans_gif.js +9 -2
index_sans_gif.js CHANGED
@@ -129,9 +129,14 @@
129
  top: 127px;
130
  right: 15px;
131
  font-size: 22px;
132
- line-height: 10;
133
  padding: 0;
134
  }
 
 
 
 
 
135
  `;
136
  document.head.appendChild(styleEl);
137
 
@@ -147,7 +152,9 @@
147
  </div>
148
  <button id="fullscreen-toggle-${instanceId}" class="widget-button">⇱</button>
149
  <button id="help-toggle-${instanceId}" class="widget-button">?</button>
150
- <button id="reset-camera-btn-${instanceId}" class="widget-button">⟲</button>
 
 
151
  <div id="menu-content-${instanceId}">
152
  - Rotate with right click<br>
153
  - Zoom in/out with middle click<br>
 
129
  top: 127px;
130
  right: 15px;
131
  font-size: 22px;
132
+ line-height: 1;
133
  padding: 0;
134
  }
135
+ /* Adjust the ⟲ icon position within the reset camera button */
136
+ .reset-icon {
137
+ display: inline-block;
138
+ transform: translateY(-4px);
139
+ }
140
  `;
141
  document.head.appendChild(styleEl);
142
 
 
152
  </div>
153
  <button id="fullscreen-toggle-${instanceId}" class="widget-button">⇱</button>
154
  <button id="help-toggle-${instanceId}" class="widget-button">?</button>
155
+ <button id="reset-camera-btn-${instanceId}" class="widget-button">
156
+ <span class="reset-icon">⟲</span>
157
+ </button>
158
  <div id="menu-content-${instanceId}">
159
  - Rotate with right click<br>
160
  - Zoom in/out with middle click<br>