mirror of
https://activitypub.software/TransFem-org/Sharkey
synced 2024-12-22 08:20:10 +00:00
tweak style
This commit is contained in:
parent
07025caee9
commit
d59914b959
3 changed files with 7 additions and 7 deletions
|
@ -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) => {
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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) => {
|
||||
|
|
Loading…
Reference in a new issue