From 6d740f0fee7aff7370c17b244fa82b1bd2eeeee4 Mon Sep 17 00:00:00 2001 From: William Deren Date: Thu, 30 Nov 2023 13:58:40 +0100 Subject: [PATCH] Scene: remove z-index style in SelectDeviceFeature (#1942) --- front/src/components/device/SelectDeviceFeature.css | 3 --- front/src/components/device/SelectDeviceFeature.jsx | 5 +---- 2 files changed, 1 insertion(+), 7 deletions(-) delete mode 100644 front/src/components/device/SelectDeviceFeature.css diff --git a/front/src/components/device/SelectDeviceFeature.css b/front/src/components/device/SelectDeviceFeature.css deleted file mode 100644 index 37027871c9..0000000000 --- a/front/src/components/device/SelectDeviceFeature.css +++ /dev/null @@ -1,3 +0,0 @@ -.deviceSelector { - z-index: 10; -} diff --git a/front/src/components/device/SelectDeviceFeature.jsx b/front/src/components/device/SelectDeviceFeature.jsx index c1ca210df7..52e33f4cf8 100644 --- a/front/src/components/device/SelectDeviceFeature.jsx +++ b/front/src/components/device/SelectDeviceFeature.jsx @@ -1,13 +1,10 @@ import { Component } from 'preact'; import { connect } from 'unistore/preact'; import Select from 'react-select'; -import cx from 'classnames'; import { getDeviceFeatureName } from '../../utils/device'; import withIntlAsProp from '../../utils/withIntlAsProp'; -import style from './SelectDeviceFeature.css'; - class SelectDeviceFeature extends Component { getOptions = async () => { try { @@ -121,7 +118,7 @@ class SelectDeviceFeature extends Component { } return (