Commit 186e7f9746012d8b83efd08ced1e8c341f05d62f

Authored by qiang.tian
1 parent 56fa8280

fix: style module

1 1 @import '~@qx/ui/src/style/variable.less';
  2 +
2 3 @ant-prefix-cls: ~'ant';
3 4
4 5 .qx-node-select {
... ... @@ -148,13 +149,11 @@
148 149 }
149 150 }
150 151
151   -:global {
152   - .qx-node-select-dropdown {
153   - > .@{ant-prefix-cls}-collapse {
154   - > .@{ant-prefix-cls}-collapse-item {
155   - > .@{ant-prefix-cls}-collapse-content {
156   - padding-right: 7px !important;
157   - }
  152 +.qx-node-select-dropdown {
  153 + > .@{ant-prefix-cls}-collapse {
  154 + > .@{ant-prefix-cls}-collapse-item {
  155 + > .@{ant-prefix-cls}-collapse-content {
  156 + padding-right: 7px !important;
158 157 }
159 158 }
160 159 }
... ...
... ... @@ -6,7 +6,7 @@ import { cloneDeep } from 'lodash-es';
6 6 import React, { useEffect, useMemo, useState } from 'react';
7 7 import { QxBaseIcon } from '../qx-base-icon';
8 8 import { request } from '../utils';
9   -import styles from './index.less';
  9 +import './index.less';
10 10 // import type { FiledType } from '@/interface';
11 11 // import type { INode } from '@qx/flow';
12 12
... ... @@ -189,17 +189,17 @@ export const useNodeFieldDisplay = ({
189 189 {displayConfig?.map((item, idx) => (
190 190 <div
191 191 key={idx}
192   - className={styles['qx-node-select-input__content-item']}
  192 + className='qx-node-select-input__content-item'
193 193 >
194 194 {item.icon && (
195 195 <span
196   - className={styles['qx-node-select-input__content-item__icon']}
  196 + className='qx-node-select-input__content-item__icon'
197 197 >
198 198 {icon(item.icon)}
199 199 </span>
200 200 )}
201 201 <span
202   - className={styles['qx-node-select-input__content-item__text']}
  202 + className='qx-node-select-input__content-item__text'
203 203 >
204 204 {item.type &&
205 205 FileTypeMap[item.type] &&
... ... @@ -209,7 +209,7 @@ export const useNodeFieldDisplay = ({
209 209 </span>
210 210 {idx !== displayConfig.length - 1 && (
211 211 <span
212   - className={styles['qx-node-select-input__content-item__arrow']}
  212 + className='qx-node-select-input__content-item__arrow'
213 213 >
214 214 <svg
215 215 xmlns="http://www.w3.org/2000/svg"
... ...