summaryrefslogtreecommitdiff
path: root/src/client/components
diff options
context:
space:
mode:
authorfuyu <54523771+mfmfuyu@users.noreply.github.com>2020-02-09 19:59:28 +0900
committerGitHub <noreply@github.com>2020-02-09 19:59:28 +0900
commit7abd91f031d5a4ee7f3b7f9fdb4a851b56f98f02 (patch)
tree6200c2f9ca5881d031a33bcc4f61c81abd0337b5 /src/client/components
parent:art: (diff)
downloadsharkey-7abd91f031d5a4ee7f3b7f9fdb4a851b56f98f02.tar.gz
sharkey-7abd91f031d5a4ee7f3b7f9fdb4a851b56f98f02.tar.bz2
sharkey-7abd91f031d5a4ee7f3b7f9fdb4a851b56f98f02.zip
いくつかのスタイルを調整 (#5894)
* Chrome(Android)で誕生日欄が崩れていたのを修正 * 入力欄のフォントを親要素から継承するように変更
Diffstat (limited to 'src/client/components')
-rw-r--r--src/client/components/post-form.vue4
-rw-r--r--src/client/components/ui/input.vue6
2 files changed, 6 insertions, 4 deletions
diff --git a/src/client/components/post-form.vue b/src/client/components/post-form.vue
index 166b3c7c5f..e089912e0c 100644
--- a/src/client/components/post-form.vue
+++ b/src/client/components/post-form.vue
@@ -153,7 +153,7 @@ export default Vue.extend({
this.$t('_postForm._placeholders.f')
];
const x = xs[Math.floor(Math.random() * xs.length)];
-
+
return this.renote
? this.$t('_postForm.quotePlaceholder')
: this.reply
@@ -713,7 +713,7 @@ export default Vue.extend({
border-radius: 0;
background: transparent;
color: var(--fg);
- font-family: initial;
+ font-family: inherit;
@media (max-width: 500px) {
padding: 0 16px;
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;