Skip to content

Commit

Permalink
[8.15] Hide progress bar on initial load when client prefers reduced …
Browse files Browse the repository at this point in the history
…motion (#194365) (#194495)

# Backport

This will backport the following commits from `main` to `8.15`:
- [Hide progress bar on initial load when client prefers reduced motion
(#194365)](#194365)

<!--- Backport version: 9.4.3 -->

### Questions ?
Please refer to the [Backport tool
documentation](https:/sqren/backport)

<!--BACKPORT [{"author":{"name":"Nathan L
Smith","email":"[email protected]"},"sourceCommit":{"committedDate":"2024-09-30T14:55:49Z","message":"Hide
progress bar on initial load when client prefers reduced motion
(#194365)\n\n##
Summary\r\n\r\nSee\r\nhttps://developer.mozilla.org/en-US/docs/Web/CSS/@media/prefers-reduced-motion\r\n\r\n![CleanShot
2024-09-29 at 21
57\r\n36](https:/user-attachments/assets/27436ec4-986b-4c91-9d9f-e49d59d76e7c)","sha":"2a935dcce37bd3e3f3fce32d6257b2ec7191dac5","branchLabelMapping":{"^v9.0.0$":"main","^v8.16.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","v9.0.0","backport:prev-major"],"title":"Hide
progress bar on initial load when client prefers reduced
motion","number":194365,"url":"https:/elastic/kibana/pull/194365","mergeCommit":{"message":"Hide
progress bar on initial load when client prefers reduced motion
(#194365)\n\n##
Summary\r\n\r\nSee\r\nhttps://developer.mozilla.org/en-US/docs/Web/CSS/@media/prefers-reduced-motion\r\n\r\n![CleanShot
2024-09-29 at 21
57\r\n36](https:/user-attachments/assets/27436ec4-986b-4c91-9d9f-e49d59d76e7c)","sha":"2a935dcce37bd3e3f3fce32d6257b2ec7191dac5"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https:/elastic/kibana/pull/194365","number":194365,"mergeCommit":{"message":"Hide
progress bar on initial load when client prefers reduced motion
(#194365)\n\n##
Summary\r\n\r\nSee\r\nhttps://developer.mozilla.org/en-US/docs/Web/CSS/@media/prefers-reduced-motion\r\n\r\n![CleanShot
2024-09-29 at 21
57\r\n36](https:/user-attachments/assets/27436ec4-986b-4c91-9d9f-e49d59d76e7c)","sha":"2a935dcce37bd3e3f3fce32d6257b2ec7191dac5"}}]}]
BACKPORT-->

Co-authored-by: Nathan L Smith <[email protected]>
  • Loading branch information
kibanamachine and smith authored Sep 30, 2024
1 parent 855b4ca commit 4f84ab0
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -114,3 +114,9 @@ body, html {
transform: scaleX(1) translateX(100%);
}
}

@media (prefers-reduced-motion) {
.kbnProgress {
display: none;
}
}

0 comments on commit 4f84ab0

Please sign in to comment.