Skip to content

Commit

Permalink
set the font size to 1rem in search text boxes
Browse files Browse the repository at this point in the history
  • Loading branch information
bmatthieu3 committed Mar 16, 2024
1 parent 2c50214 commit 12c7162
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
4 changes: 3 additions & 1 deletion src/css/aladin.css
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ body { overscroll-behavior: contain; }
border: 1px solid #ddd;
height: 100%;


/* disable x swipe on chrome, firefox */
/* see. https://stackoverflow.com/questions/30636930/disable-web-page-navigation-on-swipeback-and-forward */
overscroll-behavior-x: none;
Expand Down Expand Up @@ -461,6 +462,7 @@ canvas {
.aladin-input-text.search {
background-image:none;
text-indent: 0rem;
font-size: 1rem;
}

.aladin-input-text.search.aladin-unknownObject {
Expand Down Expand Up @@ -1003,7 +1005,7 @@ canvas {
/*font-family: Verdana, Geneva, Tahoma, sans-serif;*/
font-size: 0.9rem;

transition-delay: 300ms;
transition-delay: 100ms;
}

.aladin-tooltip-container .aladin-tooltip.aladin-dark-theme {
Expand Down
5 changes: 3 additions & 2 deletions src/js/Aladin.js
Original file line number Diff line number Diff line change
Expand Up @@ -1941,9 +1941,10 @@ export let Aladin = (function () {
};

/**
* @API
* Returns the HTML div element
*
* @return the jQuery object representing the DIV element where the Aladin Lite instance lies
* @memberof Aladin
* @return {HTMLElement} - The aladin lite div HTML element
*/
Aladin.prototype.getParentDiv = function () {
return this.aladinDiv;
Expand Down

0 comments on commit 12c7162

Please sign in to comment.