Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion gemini-scrollbar.css
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
/* actual gemini-scrollbar styles */
.gm-scrollbar-container {
position: relative;
overflow: hidden!important;
overflow: hidden;
width: 100%;
height: 100%;
}
Expand Down
10 changes: 10 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -182,6 +182,16 @@
addClass(obj, [CLASSNAMES.resizeTrigger]);
obj.type = 'text/html';
obj.setAttribute('tabindex', '-1');
/* [INFO] Required for previous Lighthouse versions,
but not required for Lighthouse 11.4.0:

obj.textContent = 'Resize trigger'; */

/* [INFO] <object> elements must have alternate text:
https://dequeuniversity.com/rules/axe/4.8/object-alt

This attribute required for Lighthouse 11.4.0. */
obj.setAttribute('aria-label', 'Resize trigger');
var resizeHandler = this._resizeHandler.bind(this);
obj.onload = function () {
var win = obj.contentDocument.defaultView;
Expand Down