even MORE fixes

This commit is contained in:
ThatOneCalculator 2022-11-06 19:42:01 -08:00
parent e3dd9ed3c9
commit 18b483ee27
4 changed files with 13 additions and 4 deletions

View File

@ -1,6 +1,6 @@
{ {
"name": "calckey", "name": "calckey",
"version": "12.119.0-calc.8-b.6", "version": "12.119.0-calc.8-b.7",
"codename": "aqua", "codename": "aqua",
"repository": { "repository": {
"type": "git", "type": "git",

View File

@ -56,7 +56,7 @@
</template> </template>
<script lang="ts" setup> <script lang="ts" setup>
import { defineAsyncComponent, nextTick, onBeforeUnmount, onMounted, onUnmounted, Ref, ref, watch } from 'vue'; import { computed, menu, defineAsyncComponent, nextTick, onBeforeUnmount, onMounted, onUnmounted, Ref, ref, watch } from 'vue';
import { focusPrev, focusNext } from '@/scripts/focus'; import { focusPrev, focusNext } from '@/scripts/focus';
import FormSwitch from '@/components/form/switch.vue'; import FormSwitch from '@/components/form/switch.vue';
import { MenuItem, InnerMenuItem, MenuPending, MenuAction } from '@/types/menu'; import { MenuItem, InnerMenuItem, MenuPending, MenuAction } from '@/types/menu';
@ -84,7 +84,7 @@ let items2: InnerMenuItem[] = $ref([]);
let child = $ref<InstanceType<typeof XChild>>(); let child = $ref<InstanceType<typeof XChild>>();
let keymap = $computed(() => ({ let keymap = computed(() => ({
'up|k|shift+tab': focusUp, 'up|k|shift+tab': focusUp,
'down|j|tab': focusDown, 'down|j|tab': focusDown,
'esc': close, 'esc': close,
@ -228,6 +228,10 @@ onBeforeUnmount(() => {
position: relative; position: relative;
} }
> &.icon {
transform: translateY(0em);
}
&:not(:disabled):hover { &:not(:disabled):hover {
color: var(--accent); color: var(--accent);
text-decoration: none; text-decoration: none;

View File

@ -179,7 +179,7 @@ const starButton = ref<InstanceType<typeof XStarButton>>();
const renoteButton = ref<InstanceType<typeof XRenoteButton>>(); const renoteButton = ref<InstanceType<typeof XRenoteButton>>();
const renoteTime = ref<HTMLElement>(); const renoteTime = ref<HTMLElement>();
const reactButton = ref<HTMLElement>(); const reactButton = ref<HTMLElement>();
let appearNote = $computed(() => isRenote ? note.renote as misskey.entities.Note : note); let appearNote = computed(() => isRenote ? note.renote as misskey.entities.Note : note);
const isMyRenote = $i && ($i.id === note.userId); const isMyRenote = $i && ($i.id === note.userId);
const showContent = ref(false); const showContent = ref(false);
const isDeleted = ref(false); const isDeleted = ref(false);

View File

@ -290,6 +290,7 @@ function more(ev: MouseEvent) {
position: relative; position: relative;
left: 3rem; left: 3rem;
color: var(--fgOnAccent); color: var(--fgOnAccent);
transform: translateY(0em)
} }
> .text { > .text {
@ -352,6 +353,7 @@ function more(ev: MouseEvent) {
position: relative; position: relative;
width: 32px; width: 32px;
margin-right: 8px; margin-right: 8px;
transform: translateY(-0.15em);
} }
> .indicator { > .indicator {
@ -425,6 +427,7 @@ function more(ev: MouseEvent) {
display: inline-block; display: inline-block;
width: 40px; width: 40px;
aspect-ratio: 1; aspect-ratio: 1;
transform: translateY(0em);
} }
} }
} }
@ -469,6 +472,7 @@ function more(ev: MouseEvent) {
> .icon { > .icon {
position: relative; position: relative;
color: var(--fgOnAccent); color: var(--fgOnAccent);
transform: translate(0.15em, 0em)
} }
> .text { > .text {
@ -511,6 +515,7 @@ function more(ev: MouseEvent) {
display: block; display: block;
margin: 0 auto; margin: 0 auto;
opacity: 0.7; opacity: 0.7;
transform: translateY(0em);
} }
> .text { > .text {