fix: 批量替换改坏的文案
#62 的类名批量替换命中了文案。设计首页阴影卡的描述和阴影册「触发模型」的标签被插入了 styles.hoverableShadow 和 styles.hoverHost,页面上显示成哈希类名并撑出卡片。还原为字面量。
This commit is contained in:
2 files changed
+2
-2
No files matched your search
@@ -318,7 +318,7 @@ export function App() {
|
||||
</Section>
|
||||
|
||||
<Section
|
||||
label={`触发模型 · ${styles.hoverHost}`}
|
||||
label="触发模型 · hover-host"
|
||||
note="位移的 :hover 挂在不动的宿主上——命中区不跟位移,底边不抖"
|
||||
>
|
||||
<Rule
|
||||
|
||||
@@ -18,7 +18,7 @@ const BOOKS: { key: PageKey; label: string; desc: string }[] = [
|
||||
{
|
||||
key: 'design-shadow',
|
||||
label: '阴影',
|
||||
desc: `一份投影配方的四枚 token(两档 × 两形)、拿起动效层 ${styles.hoverableShadow},与组件选影归位表。`,
|
||||
desc: '一份投影配方的四枚 token(两档 × 两形)、拿起动效层 hoverable-shadow,与组件选影归位表。',
|
||||
},
|
||||
]
|
||||
|
||||
|
||||
Reference in new issue
Block a user