mirror of
https://github.com/misskey-dev/misskey.git
synced 2024-12-24 00:39:32 +09:00
tweak style
This commit is contained in:
parent
07025caee9
commit
d59914b959
@ -78,9 +78,9 @@ const inputEl = shallowRef<HTMLElement>();
|
|||||||
const prefixEl = shallowRef<HTMLElement>();
|
const prefixEl = shallowRef<HTMLElement>();
|
||||||
const suffixEl = shallowRef<HTMLElement>();
|
const suffixEl = shallowRef<HTMLElement>();
|
||||||
const height =
|
const height =
|
||||||
props.small ? 34 :
|
props.small ? 33 :
|
||||||
props.large ? 40 :
|
props.large ? 39 :
|
||||||
37;
|
36;
|
||||||
|
|
||||||
const focus = () => inputEl.value.focus();
|
const focus = () => inputEl.value.focus();
|
||||||
const onInput = (ev: KeyboardEvent) => {
|
const onInput = (ev: KeyboardEvent) => {
|
||||||
|
@ -173,7 +173,7 @@ const onMousedown = (ev: MouseEvent | TouchEvent) => {
|
|||||||
$thumbWidth: 20px;
|
$thumbWidth: 20px;
|
||||||
|
|
||||||
> .body {
|
> .body {
|
||||||
padding: 8px 12px;
|
padding: 7px 12px;
|
||||||
background: var(--panel);
|
background: var(--panel);
|
||||||
border: solid 1px var(--panel);
|
border: solid 1px var(--panel);
|
||||||
border-radius: 6px;
|
border-radius: 6px;
|
||||||
|
@ -65,9 +65,9 @@ const prefixEl = ref(null);
|
|||||||
const suffixEl = ref(null);
|
const suffixEl = ref(null);
|
||||||
const container = ref(null);
|
const container = ref(null);
|
||||||
const height =
|
const height =
|
||||||
props.small ? 34 :
|
props.small ? 33 :
|
||||||
props.large ? 40 :
|
props.large ? 39 :
|
||||||
37;
|
36;
|
||||||
|
|
||||||
const focus = () => inputEl.value.focus();
|
const focus = () => inputEl.value.focus();
|
||||||
const onInput = (ev) => {
|
const onInput = (ev) => {
|
||||||
|
Loading…
Reference in New Issue
Block a user