mirror of
https://github.com/mastodon/mastodon.git
synced 2025-07-18 02:08:16 +00:00
Compare commits
3 Commits
7d70f9d659
...
cbacbb83dd
Author | SHA1 | Date | |
---|---|---|---|
![]() |
cbacbb83dd | ||
![]() |
74fc4dbacf | ||
![]() |
bccee2868e |
|
@ -2848,7 +2848,6 @@ a.account__display-name {
|
||||||
&__pane {
|
&__pane {
|
||||||
height: 100%;
|
height: 100%;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
pointer-events: none;
|
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: flex-end;
|
justify-content: flex-end;
|
||||||
min-width: 285px;
|
min-width: 285px;
|
||||||
|
@ -2860,7 +2859,6 @@ a.account__display-name {
|
||||||
&__inner {
|
&__inner {
|
||||||
position: fixed;
|
position: fixed;
|
||||||
width: 285px;
|
width: 285px;
|
||||||
pointer-events: auto;
|
|
||||||
height: 100%;
|
height: 100%;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -43,6 +43,13 @@ export const config: UserConfigFnPromise = async ({ mode, command }) => {
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
build: {
|
build: {
|
||||||
|
assetsInlineLimit(filePath, _content) {
|
||||||
|
const relativePath = path.relative(jsRoot, filePath);
|
||||||
|
|
||||||
|
if (relativePath.startsWith('fonts/')) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
},
|
||||||
commonjsOptions: { transformMixedEsModules: true },
|
commonjsOptions: { transformMixedEsModules: true },
|
||||||
chunkSizeWarningLimit: 1 * 1024 * 1024, // 1MB
|
chunkSizeWarningLimit: 1 * 1024 * 1024, // 1MB
|
||||||
sourcemap: true,
|
sourcemap: true,
|
||||||
|
|
Loading…
Reference in New Issue
Block a user