Enable tooltips
Change-Id: Icf702e87ded80800134875676ab429f7264ce6af
diff --git a/static/main.css b/static/main.css
index 39b5ea1..995623c 100644
--- a/static/main.css
+++ b/static/main.css
@@ -1,10 +1,16 @@
-body {
-}
+body {}
+
#reload_captcha {
- display: inline;
+ display: inline;
}
+
#main_container {
- width: clamp(400px,70%,700px);
- margin-bottom: 200px;
- margin-top: 20px;
+ width: clamp(400px, 70%, 700px);
+ margin-bottom: 200px;
+ margin-top: 20px;
}
+
+.tooltip {
+ font-size: 11pt;
+ line-height: 1.1;
+}
\ No newline at end of file
diff --git a/static/main.js b/static/main.js
index e83a584..7ed582c 100644
--- a/static/main.js
+++ b/static/main.js
@@ -2,6 +2,8 @@
(function() {
'use strict';
window.addEventListener('load', function() {
+ const tooltipTriggerList = document.querySelectorAll('[data-bs-toggle="tooltip"]')
+ const tooltipList = [...tooltipTriggerList].map(tooltipTriggerEl => new bootstrap.Tooltip(tooltipTriggerEl))
update_total_due();
update_paper_id_field();
// Fetch all the forms we want to apply custom Bootstrap validation styles to