From 7abd91f031d5a4ee7f3b7f9fdb4a851b56f98f02 Mon Sep 17 00:00:00 2001 From: fuyu <54523771+mfmfuyu@users.noreply.github.com> Date: Sun, 9 Feb 2020 19:59:28 +0900 Subject: いくつかのスタイルを調整 (#5894) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Chrome(Android)で誕生日欄が崩れていたのを修正 * 入力欄のフォントを親要素から継承するように変更 --- src/client/components/ui/input.vue | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/client/components/ui') diff --git a/src/client/components/ui/input.vue b/src/client/components/ui/input.vue index 69d842ef0f..cd295b68d8 100644 --- a/src/client/components/ui/input.vue +++ b/src/client/components/ui/input.vue @@ -254,7 +254,7 @@ export default Vue.extend({ > .input { position: relative; - + &:before { content: ''; display: block; @@ -327,14 +327,16 @@ export default Vue.extend({ } > input { + $height: 32px; display: block; + height: $height; width: 100%; margin: 0; padding: 0; font: inherit; font-weight: normal; font-size: 16px; - line-height: 32px; + line-height: $height; color: var(--inputText); background: transparent; border: none; -- cgit v1.2.3-freya