mirror of
https://activitypub.software/TransFem-org/Sharkey
synced 2024-12-22 16:30:13 +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 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 a new issue