File tree Expand file tree Collapse file tree
web/sdk/admin/views/organizations/details/security Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -132,6 +132,7 @@ const BlockOrganizationDialog = () => {
132132 color = { componentConfig . btnColor }
133133 size = "small"
134134 data-test-id = "block-orgnanization-button"
135+ style = { { alignSelf : "center" } }
135136 >
136137 { componentConfig . btnText }
137138 </ Button >
Original file line number Diff line number Diff line change 11import {
22 Button ,
33 Flex ,
4- IconButton ,
54 Separator ,
65 Text ,
76 Tooltip ,
@@ -34,21 +33,20 @@ const AddDomainSection = () => {
3433 </ Text >
3534 </ Flex >
3635 < Tooltip >
37- < Tooltip . Trigger
38- render = {
39- < Button
40- variant = "outline"
41- color = "neutral"
42- leadingIcon = { < PlusIcon /> }
43- size = "small"
44- data-test-id = "add-domain-button"
45- disabled = { true }
46- >
47- Add domain
48- </ Button >
49- }
50- />
51- < Tooltip . Content > Coming soon</ Tooltip . Content >
36+ { /* Flex is wrapper element to enable tooltip as button doesn't allow pointer-events while disabled */ }
37+ < Tooltip . Trigger render = { < Flex style = { { alignSelf : "center" } } /> } >
38+ < Button
39+ variant = "outline"
40+ color = "neutral"
41+ leadingIcon = { < PlusIcon /> }
42+ size = "small"
43+ data-test-id = "add-domain-button"
44+ disabled = { true }
45+ >
46+ Add domain
47+ </ Button >
48+ </ Tooltip . Trigger >
49+ < Tooltip . Content side = "bottom" > Coming soon</ Tooltip . Content >
5250 </ Tooltip >
5351 </ Flex >
5452 ) ;
You can’t perform that action at this time.
0 commit comments