1
0
forked from mirror/misskey

Merge branch 'develop'

This commit is contained in:
moris 2025-02-09 20:16:59 +09:00
commit d01df7976d
5 changed files with 6 additions and 13 deletions

View File

@ -200,13 +200,6 @@ export async function mainBoot() {
}
}
if ('Notification' in window) {
// 許可を得ていなかったらリクエスト
if (Notification.permission === 'default') {
Notification.requestPermission();
}
}
const main = markRaw(stream.useChannel('main', null, 'System'));
// 自分の情報が更新されたとき

View File

@ -1293,7 +1293,7 @@ html[data-color-scheme=light] .preview {
max-width: 100%;
min-width: 100%;
width: 100%;
min-height: 90px;
min-height: 128px;
height: 100%;
}

View File

@ -222,11 +222,11 @@ export const defaultStore = markRaw(new Storage('base', {
},
animation: {
where: 'device',
default: !window.matchMedia('(prefers-reduced-motion)').matches,
default: false,
},
animatedMfm: {
where: 'device',
default: !window.matchMedia('(prefers-reduced-motion)').matches,
default: true,
},
advancedMfm: {
where: 'device',

View File

@ -133,7 +133,7 @@ function more(ev: MouseEvent) {
<style lang="scss" module>
.root {
--nav-width: 250px;
--nav-icon-only-width: 80px;
--nav-icon-only-width: 60px;
--nav-bg-transparent: color(from var(--MI_THEME-navBg) srgb r g b / 0.5);
flex: 0 0 var(--nav-width);

View File

@ -394,7 +394,7 @@ $widgets-hide-threshold: 1090px;
z-index: 1000;
bottom: 0;
left: 0;
padding: 12px 12px max(12px, env(safe-area-inset-bottom, 0px)) 12px;
padding: 8px 16px max(8px, env(safe-area-inset-bottom, 0px)) 16px;
display: grid;
grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
grid-gap: 8px;
@ -411,7 +411,7 @@ $widgets-hide-threshold: 1090px;
padding: 0;
aspect-ratio: 1;
width: 100%;
max-width: 60px;
max-width: 50px;
margin: auto;
border-radius: 100%;
background: var(--MI_THEME-panel);