mirror of
https://github.com/sim1222/misskey.git
synced 2025-04-29 02:37:22 +09:00
fix: improve design
This commit is contained in:
parent
177ee5645e
commit
95ec171479
@ -52,8 +52,9 @@ fetch(`/url?url=${encodeURIComponent(requestUrl.href)}&lang=${requestLang}`).the
|
|||||||
});
|
});
|
||||||
|
|
||||||
definePageMetadata(computed(() => props.url ? {
|
definePageMetadata(computed(() => props.url ? {
|
||||||
title: 'ytplayer',
|
title: title?.toString() || 'ytplayer',
|
||||||
path: `/notes/${props.url}`,
|
path: `/notes/${props.url}`,
|
||||||
|
icon: 'fa-brands fa-youtube'
|
||||||
} : null));
|
} : null));
|
||||||
|
|
||||||
console.log(await player.url);
|
console.log(await player.url);
|
||||||
@ -64,15 +65,16 @@ console.log(await player.url);
|
|||||||
height: 100%;
|
height: 100%;
|
||||||
}
|
}
|
||||||
.player {
|
.player {
|
||||||
position: relative;
|
height: calc(100% - 10px);
|
||||||
width: 100%;
|
width: calc(100% - 10px);
|
||||||
height: 100%;
|
padding: 5px;
|
||||||
|
|
||||||
>iframe {
|
>iframe {
|
||||||
height: 100%;
|
height: 100%;
|
||||||
left: 0;
|
|
||||||
position: absolute;
|
|
||||||
top: 0;
|
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
border-radius: 0 0 var(--radius) var(--radius);
|
||||||
|
left: 0;
|
||||||
|
top: 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user