mirror of
https://github.com/explosion/spaCy.git
synced 2025-08-03 11:50:19 +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 sourceWithText = withIcon && isString(children)
|
||||
const linkClassNames = classNames(classes.root, className, {
|
||||
[classes.hidden]: hidden,
|
||||
[classes.noLinkLayout]: hidden,
|
||||
[classes.nowrap]: (withIcon && !sourceWithText) || icon === 'network',
|
||||
[classes['with-icon']]: withIcon,
|
||||
})
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
&:hover
|
||||
color: var(--color-theme-dark)
|
||||
|
||||
.hidden
|
||||
.no-link-layout
|
||||
border: none
|
||||
color: inherit
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user