diff --git a/docs/markdown.md b/docs/markdown.md index 0726c13..4f2f1db 100644 --- a/docs/markdown.md +++ b/docs/markdown.md @@ -104,8 +104,8 @@ ``` **功能:** -- 点击骰子图标执行掷骰 -- 点击文本重置为公式 +- 点击文本执行掷骰 +- 点击骰子图标重置为公式 - `key` 属性将结果记录到 URL 参数中 (`?dice-attack=15`) **属性:** diff --git a/src/styles.css b/src/styles.css index a696fe1..bb81550 100644 --- a/src/styles.css +++ b/src/styles.css @@ -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;