do not clip the windows out of the aladin lite div #345

This commit is contained in:
Matthieu Baumann
2026-03-02 17:43:43 +01:00
parent 887284da23
commit a7c412088c
6 changed files with 4802 additions and 4805 deletions

View File

@@ -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,

View File

@@ -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">

View File

@@ -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

View File

@@ -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;*/

View File

@@ -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'
}
},
});