Skip to content

Commit

Permalink
fix: avoid overlap for add/delete capability button tooltips (appium#…
Browse files Browse the repository at this point in the history
  • Loading branch information
eglitise authored Aug 24, 2024
1 parent 22f1b21 commit 97f32ef
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/common/renderer/components/Session/CapabilityEditor.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ const CapabilityEditor = (props) => {
<Col span={2}>
<div className={SessionStyles.btnDeleteCap}>
<Form.Item>
<Tooltip title={t('Delete')}>
<Tooltip title={t('Delete')} placement="right">
<Button
{...{disabled: caps.length <= 1 || isEditingDesiredCaps}}
icon={<DeleteOutlined />}
Expand All @@ -161,7 +161,7 @@ const CapabilityEditor = (props) => {
</Col>
<Col span={2}>
<Form.Item>
<Tooltip title={t('Add')}>
<Tooltip title={t('Add')} placement="right">
<Button
disabled={isEditingDesiredCaps}
id="btnAddDesiredCapability"
Expand Down

0 comments on commit 97f32ef

Please sign in to comment.