Skip to content

Commit

Permalink
[EUI] Fix temporary selectable horizontal card workaround (#145932)
Browse files Browse the repository at this point in the history
## Summary

closes #145508

This workaround was added in 7832378. A non-temporary fix was pushed up in 8.7 (#144845), but rather than create a new EUI backport just for this issue, I'm opting to fix the 8.6-only workaround.

### Before

<img src="https://user-images.githubusercontent.com/61860752/202394082-c82006af-1492-4537-a354-8e2f60b4b45e.png" alt="">

### After

<img width="909" alt="" src="https://user-images.githubusercontent.com/549407/203149130-a5cc0a69-d736-4e89-9d26-6e5e870238b4.png">


### Checklist

- [x] Any UI touched in this PR is usable by keyboard only (learn more about [keyboard accessibility](https://webaim.org/techniques/keyboard/))
- [x] This renders correctly on smaller devices using a responsive layout. (You can test this [in your browser](https://www.browserstack.com/guide/responsive-testing-on-local-server))
- [x] This was checked for [cross-browser compatibility](https://www.elastic.co/support/matrix#matrix_browsers)
  • Loading branch information
Cee committed Nov 22, 2022
1 parent acd9091 commit b52b34c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export const DatasourceSelector = ({ onSelect, datasources, current }) => {
padding-bottom: 60px;
position: relative;
button {
& > button {
position: absolute;
left: 0;
right: 0;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ export const SelectRuleType: React.FC<SelectRuleTypeProps> = ({
padding-bottom: 60px;
position: relative;
button {
& > button {
position: absolute;
left: 0;
right: 0;
Expand Down

0 comments on commit b52b34c

Please sign in to comment.