Merge branch 'develop' of codeberg.org:thatonecalculator/calckey into develop
This commit is contained in:
commit
9efdefe2f3
3 changed files with 4 additions and 4 deletions
|
@ -115,7 +115,7 @@ onMounted(() => {
|
|||
|
||||
&::after {
|
||||
content: "";
|
||||
background-image: inherit;
|
||||
background-image: var(--blur, inherit);
|
||||
position: fixed;
|
||||
inset: 0;
|
||||
background-size: cover;
|
||||
|
|
|
@ -116,11 +116,11 @@ const MOBILE_THRESHOLD = 500;
|
|||
|
||||
// デスクトップでウィンドウを狭くしたときモバイルUIが表示されて欲しいことはあるので deviceKind === 'desktop' の判定は行わない
|
||||
const isMobile = ref(
|
||||
deviceKind === 'smartphone' || window.innerWidth <= MOBILE_THRESHOLD
|
||||
deviceKind === 'smartphone' || window.innerWidth <= MOBILE_THRESHOLD,
|
||||
);
|
||||
window.addEventListener('resize', () => {
|
||||
isMobile.value =
|
||||
deviceKind === 'smartphone' || window.innerWidth <= MOBILE_THRESHOLD;
|
||||
(deviceKind === 'smartphone' || window.innerWidth <= MOBILE_THRESHOLD);
|
||||
});
|
||||
|
||||
const tlComponent = $ref<InstanceType<typeof XTimeline>>();
|
||||
|
|
|
@ -221,7 +221,7 @@ onUnmounted(() => {
|
|||
|
||||
&::after {
|
||||
content: "";
|
||||
background-image: inherit;
|
||||
background-image: var(--blur, inherit);
|
||||
position: fixed;
|
||||
inset: 0;
|
||||
background-size: cover;
|
||||
|
|
Loading…
Reference in a new issue