Skip to content

Commit 9cfe1db

Browse files
committed
Fix temporary selectable horizontal card workaround to not break buttons inside card titles
1 parent 87ac652 commit 9cfe1db

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

x-pack/plugins/canvas/public/components/datasource/datasource_selector.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ export const DatasourceSelector = ({ onSelect, datasources, current }) => {
1919
padding-bottom: 60px;
2020
position: relative;
2121
22-
button {
22+
& > button {
2323
position: absolute;
2424
left: 0;
2525
right: 0;

x-pack/plugins/security_solution/public/detections/components/rules/select_rule_type/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ export const SelectRuleType: React.FC<SelectRuleTypeProps> = ({
108108
padding-bottom: 60px;
109109
position: relative;
110110
111-
button {
111+
& > button {
112112
position: absolute;
113113
left: 0;
114114
right: 0;

0 commit comments

Comments
 (0)