clean up
This commit is contained in:
parent
b668d161a9
commit
54849bde6c
5 changed files with 3 additions and 9 deletions
|
@ -36,13 +36,13 @@ SPDX-License-Identifier: AGPL-3.0-only
|
||||||
<script lang="ts" setup>
|
<script lang="ts" setup>
|
||||||
import { computed, defineAsyncComponent, ref } from 'vue';
|
import { computed, defineAsyncComponent, ref } from 'vue';
|
||||||
import * as Misskey from 'misskey-js';
|
import * as Misskey from 'misskey-js';
|
||||||
|
import type { MenuItem } from '@/types/menu.js';
|
||||||
import * as os from '@/os.js';
|
import * as os from '@/os.js';
|
||||||
import { misskeyApi } from '@/scripts/misskey-api.js';
|
import { misskeyApi } from '@/scripts/misskey-api.js';
|
||||||
import { i18n } from '@/i18n.js';
|
import { i18n } from '@/i18n.js';
|
||||||
import { defaultStore } from '@/store.js';
|
import { defaultStore } from '@/store.js';
|
||||||
import { claimAchievement } from '@/scripts/achievements.js';
|
import { claimAchievement } from '@/scripts/achievements.js';
|
||||||
import { copyToClipboard } from '@/scripts/copy-to-clipboard.js';
|
import { copyToClipboard } from '@/scripts/copy-to-clipboard.js';
|
||||||
import type { MenuItem } from '@/types/menu.js';
|
|
||||||
|
|
||||||
const props = withDefaults(defineProps<{
|
const props = withDefaults(defineProps<{
|
||||||
folder: Misskey.entities.DriveFolder;
|
folder: Misskey.entities.DriveFolder;
|
||||||
|
@ -375,7 +375,6 @@ function onContextmenu(ev: MouseEvent) {
|
||||||
.name {
|
.name {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
font-size: 0.9em;
|
font-size: 0.9em;
|
||||||
color: var(--desktopDriveFolderFg);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.icon {
|
.icon {
|
||||||
|
@ -388,6 +387,5 @@ function onContextmenu(ev: MouseEvent) {
|
||||||
margin: 4px 4px;
|
margin: 4px 4px;
|
||||||
font-size: 0.8em;
|
font-size: 0.8em;
|
||||||
text-align: right;
|
text-align: right;
|
||||||
color: var(--desktopDriveFolderFg);
|
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
|
@ -83,7 +83,6 @@ const props = defineProps<{
|
||||||
> p {
|
> p {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
color: var(--urlPreviewInfo);
|
|
||||||
font-size: 0.8em;
|
font-size: 0.8em;
|
||||||
line-height: 16px;
|
line-height: 16px;
|
||||||
vertical-align: top;
|
vertical-align: top;
|
||||||
|
|
|
@ -68,7 +68,6 @@ async function show() {
|
||||||
}
|
}
|
||||||
|
|
||||||
.download {
|
.download {
|
||||||
background: var(--noteAttachedFile);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.sensitive {
|
.sensitive {
|
||||||
|
|
|
@ -115,7 +115,6 @@ const props = defineProps<{
|
||||||
> p {
|
> p {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
color: var(--urlPreviewInfo);
|
|
||||||
font-size: 0.8em;
|
font-size: 0.8em;
|
||||||
line-height: 16px;
|
line-height: 16px;
|
||||||
vertical-align: top;
|
vertical-align: top;
|
||||||
|
|
|
@ -84,13 +84,13 @@ SPDX-License-Identifier: AGPL-3.0-only
|
||||||
|
|
||||||
<script lang="ts" setup>
|
<script lang="ts" setup>
|
||||||
import { defineAsyncComponent, onDeactivated, onUnmounted, ref } from 'vue';
|
import { defineAsyncComponent, onDeactivated, onUnmounted, ref } from 'vue';
|
||||||
import type { summaly } from '@misskey-dev/summaly';
|
|
||||||
import { url as local } from '@@/js/config.js';
|
import { url as local } from '@@/js/config.js';
|
||||||
|
import { versatileLang } from '@@/js/intl-const.js';
|
||||||
|
import type { summaly } from '@misskey-dev/summaly';
|
||||||
import { i18n } from '@/i18n.js';
|
import { i18n } from '@/i18n.js';
|
||||||
import * as os from '@/os.js';
|
import * as os from '@/os.js';
|
||||||
import { deviceKind } from '@/scripts/device-kind.js';
|
import { deviceKind } from '@/scripts/device-kind.js';
|
||||||
import MkButton from '@/components/MkButton.vue';
|
import MkButton from '@/components/MkButton.vue';
|
||||||
import { versatileLang } from '@@/js/intl-const.js';
|
|
||||||
import { transformPlayerUrl } from '@/scripts/player-url-transform.js';
|
import { transformPlayerUrl } from '@/scripts/player-url-transform.js';
|
||||||
import { defaultStore } from '@/store.js';
|
import { defaultStore } from '@/store.js';
|
||||||
|
|
||||||
|
@ -317,7 +317,6 @@ onUnmounted(() => {
|
||||||
.siteName {
|
.siteName {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
color: var(--urlPreviewInfo);
|
|
||||||
font-size: 0.8em;
|
font-size: 0.8em;
|
||||||
line-height: 16px;
|
line-height: 16px;
|
||||||
vertical-align: top;
|
vertical-align: top;
|
||||||
|
|
Loading…
Reference in a new issue