Have qtip adjust tooltips to fit in screen
Have qtip adjust tooltips to fit in screen

--- a/js/tooltips.js
+++ b/js/tooltips.js
@@ -48,6 +48,11 @@
 			},
 			style: {
 				classes: 'ui-tooltip-light ui-tooltip-shadow'
+			},
+			position: {
+				adjust: {
+					screen: true
+				}
 			}
 		});
 	});
@@ -78,6 +83,11 @@
 			},
 			style: {
 				classes: 'ui-tooltip-light ui-tooltip-shadow'
+			},
+			position: {
+				adjust: {
+					screen: true
+				}
 			}
 		});
 	});

comments