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 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) => {

View File

@ -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;

View File

@ -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) => {