fix css browser text input width so that user can redefine css

This commit is contained in:
Matthieu Baumann
2024-09-11 11:35:19 +02:00
committed by Matthieu Baumann
parent 4c48d9a2a1
commit b4f905e745
4 changed files with 10 additions and 12 deletions

View File

@@ -34,6 +34,9 @@
});
</script>
<style>
.aladin-cat-browser-box {
width: 600px;
}
</style>
</body>
</html>

View File

@@ -2,7 +2,7 @@
"homepage": "https://aladin.u-strasbg.fr/",
"name": "aladin-lite",
"type": "module",
"version": "3.5.0-beta",
"version": "3.5.1-beta",
"description": "An astronomical HiPS visualizer in the browser",
"author": "Thomas Boch and Matthieu Baumann",
"license": "GPL-3",

View File

@@ -129,6 +129,7 @@ impl TileFetcherQueue {
let min_order = cfg.get_min_depth_texture();
let dl = downloader.clone();
#[cfg(target_arch = "wasm32")]
utils::set_timeout(
move || {
for tile_cell in crate::healpix::cell::ALLSKY_HPX_CELLS_D0 {

View File

@@ -210,7 +210,6 @@
background: whitesmoke;
border-radius: 2px;
position: absolute;
max-width: 15em;
font-size: inherit;
font-family: monospace;
@@ -226,7 +225,7 @@
/*overflow-y: auto;*/
overflow-y: none;
max-height: 500px;
max-width: fit-content;
/*max-width: fit-content;*/
height: fit-content;
}
@@ -1117,28 +1116,23 @@ canvas {
width: 4.5rem;
}
/*
.aladin-input-text.aladin-dark-theme.search.aladin-HiPS-search {
width: 100%;
}*/
.aladin-stack-box {
width: 17rem;
}
.aladin-HiPS-browser-box .aladin-input-text {
width: 300px;
width: 100%;
min-width: 300px;
padding: 0.5rem;
}
.aladin-cat-browser-box .aladin-input-text.search {
width: 300px;
width: 100%;
min-width: 300px;
padding-top: 0.5rem;
padding-bottom: 0.5rem;
}
.aladin-location {
position: absolute;
top: 0.2rem;