Skip to content

Commit

Permalink
EPMRPP-95352 || Wrong cursor style when hovering Defect type
Browse files Browse the repository at this point in the history
  • Loading branch information
maria-hambardzumian committed Sep 18, 2024
1 parent 8237384 commit 30a19ab
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,17 @@
font-size: 13px;
line-height: 18px;
cursor: pointer;

&.readonly {
cursor: default;
}
}

.no-border {
border: 1px solid transparent;
font-family: $FONT-REGULAR;
font-size: 12px;

&:hover {
border: 1px solid $COLOR--gray-80;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@ export const DefectType = ({ issue, onEdit, onRemove, patternTemplates, events,
{issue.issueType && (
<DefectTypeItem
type={issue.issueType}
className={cx({ readonly: disabled || !canChangeDefectTypes })}
onClick={
disabled || !canChangeDefectTypes
? null
Expand Down

0 comments on commit 30a19ab

Please sign in to comment.