@gitlab/ui 115.10.0 → 115.11.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gitlab/ui",
3
- "version": "115.10.0",
3
+ "version": "115.11.0",
4
4
  "description": "GitLab UI Components",
5
5
  "license": "MIT",
6
6
  "main": "dist/index.js",
@@ -640,3 +640,11 @@
640
640
  @apply gl-shadow-none;
641
641
  }
642
642
  }
643
+
644
+ // fixes sr-only elements positioning issue
645
+ // when positioned inside a drawer the visually hidden element might stick to the very bottom of the drawer
646
+ // extending the drawer size and introducing scrolling
647
+ // context: https://gitlab.com/gitlab-org/gitlab-services/design.gitlab.com/-/merge_requests/4866
648
+ .gl-button-text:has(.gl-sr-only) {
649
+ position: relative;
650
+ }