lint & changelog
This commit is contained in:
parent
a7b1519a3e
commit
0cd604a7b8
4 changed files with 12 additions and 6 deletions
4
changelog.d/2-11-2.fix
Normal file
4
changelog.d/2-11-2.fix
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
Fixed crashing on Firefox 153
|
||||
Fixed serif-fonts being used by default in some cases
|
||||
Fixed font select component showing and using objects instead of strings
|
||||
Fixed generic ('sans-serif', 'monospace' etc) fonts not working
|
||||
|
|
@ -44,10 +44,10 @@ import {
|
|||
} from 'src/api/public.js'
|
||||
import {
|
||||
blockUser as apiBlockUser,
|
||||
editUserNote as apiEditUserNote,
|
||||
muteUser as apiMuteUser,
|
||||
unblockUser as apiUnblockUser,
|
||||
unmuteUser as apiUnmuteUser,
|
||||
editUserNote as apiEditUserNote,
|
||||
fetchBlocks,
|
||||
fetchDomainMutes,
|
||||
fetchMutes,
|
||||
|
|
|
|||
|
|
@ -36,10 +36,10 @@ export const createStyleSheet = (id, priority = 1000) => {
|
|||
if (typeof CSS.supports !== 'function') return
|
||||
// firefox doesn't like invalid selectors
|
||||
const fullWebkitScrollbarSupport =
|
||||
CSS.supports('selector(::-webkit-scrollbar)') &&
|
||||
CSS.supports('selector(::-webkit-scrollbar-button)') &&
|
||||
CSS.supports('selector(::-webkit-resizer)') &&
|
||||
CSS.supports('selector(::-webkit-scrollbar-thumb)')
|
||||
CSS.supports('selector(::-webkit-scrollbar)') &&
|
||||
CSS.supports('selector(::-webkit-scrollbar-button)') &&
|
||||
CSS.supports('selector(::-webkit-resizer)') &&
|
||||
CSS.supports('selector(::-webkit-scrollbar-thumb)')
|
||||
if (!fullWebkitScrollbarSupport) return
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -717,7 +717,9 @@ export const useInterfaceStore = defineStore('interface', {
|
|||
const family = mergedConfig[`font${font}`]
|
||||
const variable = font === 'Monospace' ? '--monoFont' : '--font'
|
||||
if (typeof family === 'string') {
|
||||
const familyString = GENERIC_FONT_NAMES.has(family) ? family : `"${family}"`
|
||||
const familyString = GENERIC_FONT_NAMES.has(family)
|
||||
? family
|
||||
: `"${family}"`
|
||||
hacks.push({
|
||||
component,
|
||||
directives: {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue