mirror of
https://github.com/explosion/spaCy.git
synced 2025-08-05 12:50:20 +03:00
Rename CSS class to make use more clear
This commit is contained in:
parent
f9e020dd67
commit
cddb42211c
|
@ -39,7 +39,7 @@ export default function Link({
|
||||||
const withIcon = !hidden && !hideIcon && !!icon && !isImage(children)
|
const withIcon = !hidden && !hideIcon && !!icon && !isImage(children)
|
||||||
const sourceWithText = withIcon && isString(children)
|
const sourceWithText = withIcon && isString(children)
|
||||||
const linkClassNames = classNames(classes.root, className, {
|
const linkClassNames = classNames(classes.root, className, {
|
||||||
[classes.hidden]: hidden,
|
[classes.noLinkLayout]: hidden,
|
||||||
[classes.nowrap]: (withIcon && !sourceWithText) || icon === 'network',
|
[classes.nowrap]: (withIcon && !sourceWithText) || icon === 'network',
|
||||||
[classes['with-icon']]: withIcon,
|
[classes['with-icon']]: withIcon,
|
||||||
})
|
})
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
&:hover
|
&:hover
|
||||||
color: var(--color-theme-dark)
|
color: var(--color-theme-dark)
|
||||||
|
|
||||||
.hidden
|
.no-link-layout
|
||||||
border: none
|
border: none
|
||||||
color: inherit
|
color: inherit
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user