better paddings
This commit is contained in:
parent
9f481052d0
commit
9b58b8c290
2 changed files with 6 additions and 1 deletions
|
|
@ -201,6 +201,10 @@
|
|||
line-height: 1.85;
|
||||
}
|
||||
|
||||
.inputs-wrapper {
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.input.form-post-body {
|
||||
// TODO: make a resizable textarea component?
|
||||
box-sizing: content-box; // needed for easier computation of dynamic size
|
||||
|
|
@ -208,6 +212,7 @@
|
|||
transition: min-height 200ms 100ms;
|
||||
// stock padding + 1 line of text (for counter)
|
||||
padding-bottom: calc(var(--_padding) + var(--post-line-height) * 1em);
|
||||
padding-right: 1.5em;
|
||||
// two lines of text
|
||||
height: calc(var(--post-line-height) * 1em);
|
||||
min-height: calc(var(--post-line-height) * 1em);
|
||||
|
|
|
|||
|
|
@ -156,7 +156,7 @@
|
|||
class="preview-status"
|
||||
/>
|
||||
</div>
|
||||
<div class="input">
|
||||
<div class="input inputs-wrapper">
|
||||
<EmojiInput
|
||||
v-if="!disableSubject && (newStatus.spoilerText || alwaysShowSubject)"
|
||||
v-model="newStatus.spoilerText"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue