mirror of
https://github.com/cds-astro/aladin-lite.git
synced 2026-03-12 21:23:10 -07:00
do not clip the windows out of the aladin lite div #345
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<div id="aladin-lite-div" style="width: 1024px; height: 768px"></div>
|
||||
<div id="aladin-lite-div" style="width: 200px; height: 768px"></div>
|
||||
<script>let aladin;</script>
|
||||
<script type="module">
|
||||
import A from '../src/js/A.js';
|
||||
@@ -14,7 +14,6 @@
|
||||
target: "M31",
|
||||
fov: 89.78,
|
||||
showContextMenu: true,
|
||||
fullScreen: true,
|
||||
showSimbadPointerControl: true,
|
||||
showShareControl: true,
|
||||
showSettingsControl: true,
|
||||
|
||||
@@ -3,8 +3,6 @@
|
||||
<head>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
|
||||
<div id="aladin-lite-div" style="width: 768px; height: 512px"></div>
|
||||
<script>let aladin;</script>
|
||||
<script type="module">
|
||||
|
||||
@@ -3,9 +3,9 @@
|
||||
<head>
|
||||
</head>
|
||||
<body>
|
||||
<div id="al1" style="width: 500px; height: 500px">
|
||||
<div id="al1" style="width: 200px; height: 200px">
|
||||
</div>
|
||||
<div id="al2" style="width: 500px; height: 500px">
|
||||
<div id="al2" style="width: 200px; height: 200px">
|
||||
</div>
|
||||
|
||||
<script type="module">
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -7,7 +7,7 @@
|
||||
overscroll-behavior-x: none;
|
||||
overscroll-behavior-y: none; /* Prevents vertical pull-to-refresh */
|
||||
/* Hide the draggable boxes that goes out of the view */
|
||||
overflow: hidden;
|
||||
/*overflow: hidden;*/
|
||||
/* media query on the aladin lite container. not supported everywhere.
|
||||
There can be a more supported alternative here: https://caniuse.com/?search=grid-template-columns */
|
||||
/*container-type: inline-size;*/
|
||||
|
||||
@@ -56,7 +56,7 @@ import stackOverlayIconUrl from "./../../../../assets/icons/stack.svg";
|
||||
tooltip: {
|
||||
content: 'Open the overlays menu',
|
||||
position: {
|
||||
direction: (options && options.openDirection) || 'left'
|
||||
direction: (options && options.openDirection) || 'top'
|
||||
}
|
||||
},
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user