Skip to content

Commit

Permalink
[web] Drop cursor-pointer CSS utility class
Browse files Browse the repository at this point in the history
Not needed at this moment
  • Loading branch information
dgdavid committed Nov 30, 2023
1 parent 253aa39 commit 94bb4d4
Show file tree
Hide file tree
Showing 7 changed files with 1 addition and 9 deletions.
1 change: 1 addition & 0 deletions web/src/assets/styles/blocks.scss
Original file line number Diff line number Diff line change
Expand Up @@ -310,6 +310,7 @@ ul[data-type="agama/list"] {
// These attributes together means that UI is rendering a selector
ul[data-type="agama/list"][role="listbox"] {
li[role="option"] {
cursor: pointer;
transition: all 0.2s ease-in-out;

&:hover {
Expand Down
4 changes: 0 additions & 4 deletions web/src/assets/styles/utilities.scss
Original file line number Diff line number Diff line change
Expand Up @@ -171,10 +171,6 @@
max-inline-size: calc(var(--ui-max-inline-size) + var(--spacer-large))
}

.cursor-pointer {
cursor: pointer;
}

.height-75 {
height: 75dvh;
}
1 change: 0 additions & 1 deletion web/src/components/l10n/KeymapSelector.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,6 @@ export default function KeymapSelector({ value, keymaps = [], onChange = noop })
key={`keymap-${index}`}
onClick={() => onChange(keymap.id)}
isSelected={keymap.id === value}
className="cursor-pointer"
>
<KeymapItem keymap={keymap} />
</ListBoxItem>
Expand Down
1 change: 0 additions & 1 deletion web/src/components/l10n/LocaleSelector.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,6 @@ export default function LocaleSelector({ value, locales = [], onChange = noop })
key={`locale-${index}`}
onClick={() => onChange(locale.id)}
isSelected={locale.id === value}
className="cursor-pointer"
>
<LocaleItem locale={locale} />
</ListBoxItem>
Expand Down
1 change: 0 additions & 1 deletion web/src/components/l10n/TimezoneSelector.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,6 @@ export default function TimezoneSelector({ value, timezones = [], onChange = noo
key={`timezone-${index}`}
onClick={() => onChange(timezone.id)}
isSelected={timezone.id === value}
className="cursor-pointer"
>
<TimezoneItem timezone={timezone} date={date} />
</ListBoxItem>
Expand Down
1 change: 0 additions & 1 deletion web/src/components/storage/device-utils.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,6 @@ const DeviceSelector = ({ devices, selected, isMultiple = false, onChange = noop
role="option"
onClick={() => onOptionClick(device.name)}
isSelected={isSelected(device.name)}
className="cursor-pointer"
data-type="storage-device"
>
<DeviceItem device={device} />
Expand Down
1 change: 0 additions & 1 deletion web/src/components/storage/space-policy-utils.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,6 @@ const SpacePolicySelector = ({ value, onChange = noop }) => {
role="option"
onClick={() => onChange(policy)}
isSelected={policy === value}
className="cursor-pointer"
>
<PolicyItem policy={policy} />
</ListBoxItem>
Expand Down

0 comments on commit 94bb4d4

Please sign in to comment.