tweak style

This commit is contained in:
syuilo 2023-01-15 14:18:45 +09:00
parent 07025caee9
commit d59914b959
3 changed files with 7 additions and 7 deletions

View file

@ -78,9 +78,9 @@ const inputEl = shallowRef<HTMLElement>();
const prefixEl = shallowRef<HTMLElement>();
const suffixEl = shallowRef<HTMLElement>();
const height =
props.small ? 34 :
props.large ? 40 :
37;
props.small ? 33 :
props.large ? 39 :
36;
const focus = () => inputEl.value.focus();
const onInput = (ev: KeyboardEvent) => {

View file

@ -173,7 +173,7 @@ const onMousedown = (ev: MouseEvent | TouchEvent) => {
$thumbWidth: 20px;
> .body {
padding: 8px 12px;
padding: 7px 12px;
background: var(--panel);
border: solid 1px var(--panel);
border-radius: 6px;

View file

@ -65,9 +65,9 @@ const prefixEl = ref(null);
const suffixEl = ref(null);
const container = ref(null);
const height =
props.small ? 34 :
props.large ? 40 :
37;
props.small ? 33 :
props.large ? 39 :
36;
const focus = () => inputEl.value.focus();
const onInput = (ev) => {