Revert "fix(SW-2101): do not apply underline to Material icons inside Link and Button"
This reverts commit 35f9c3aab5.
This commit is contained in:
@@ -2,8 +2,6 @@ import { withThemeByClassName } from '@storybook/addon-themes'
|
||||
|
||||
import type { Preview, ReactRenderer } from '@storybook/react'
|
||||
|
||||
import 'react-material-symbols/rounded'
|
||||
|
||||
import '../lib/style.css'
|
||||
import '../lib/fonts.css'
|
||||
|
||||
|
||||
@@ -5,7 +5,6 @@ import { fn } from '@storybook/test'
|
||||
import { Button } from './Button'
|
||||
import { config as buttonConfig } from './variants'
|
||||
import { config as typographyConfig } from '../Typography/variants'
|
||||
import { MaterialIcon } from '../Icons'
|
||||
|
||||
const meta: Meta<typeof Button> = {
|
||||
title: 'Components/Button',
|
||||
@@ -150,15 +149,3 @@ export const TextSmall: Story = {
|
||||
size: 'Small',
|
||||
},
|
||||
}
|
||||
|
||||
export const TextWithIcon: Story = {
|
||||
args: {
|
||||
...TextDefault.args,
|
||||
children: (
|
||||
<>
|
||||
<MaterialIcon icon="add" color="CurrentColor" />
|
||||
<span>Add room</span>
|
||||
</>
|
||||
),
|
||||
},
|
||||
}
|
||||
|
||||
@@ -82,10 +82,6 @@
|
||||
padding: var(--Space-x15) 0;
|
||||
}
|
||||
|
||||
.variant-text:hover span:not(:global(.material-symbols)) {
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
.variant-icon {
|
||||
background-color: transparent;
|
||||
border-color: transparent;
|
||||
|
||||
Reference in New Issue
Block a user