refactor: details

This commit is contained in:
hypercross 2026-03-27 14:16:25 +08:00
parent 18ea01b904
commit 273f949839
2 changed files with 7 additions and 8 deletions

View File

@ -104,8 +104,8 @@
```
**功能:**
- 点击骰子图标执行掷骰
- 点击文本重置为公式
- 点击文本执行掷骰
- 点击骰子图标重置为公式
- `key` 属性将结果记录到 URL 参数中 (`?dice-attack=15`)
**属性:**

View File

@ -4,8 +4,8 @@
/* icon */
icon, pull{
@apply inline-block;
width: 2em;
height: 2em;
width: 1.5em;
height: 1.28em;
vertical-align: text-bottom;
--icon-src: '';
background-image: var(--icon-src);
@ -13,10 +13,9 @@ icon, pull{
background-position: center;
background-repeat: no-repeat;
}
icon.mini{
width: 1.5em;
height: 1.28em;
vertical-align: text-bottom;
icon.big{
width: 2em;
height: 2em;
}
pull{
margin-right: -.5em;