mirror of
https://github.com/hydralauncher/hydra.git
synced 2025-03-09 15:40:26 +00:00
Merge branch 'main' into feature/better-repack-modal
This commit is contained in:
commit
6fd38df79e
11 changed files with 241 additions and 143 deletions
|
@ -42,7 +42,7 @@ export function Modal({
|
|||
}, [onClose]);
|
||||
|
||||
const isTopMostModal = () => {
|
||||
const openModals = document.querySelectorAll("[role=modal]");
|
||||
const openModals = document.querySelectorAll("[role=dialog]");
|
||||
|
||||
return (
|
||||
openModals.length &&
|
||||
|
|
|
@ -33,7 +33,7 @@ export function HeroPanelPlaytime({
|
|||
|
||||
const numberFormatter = useMemo(() => {
|
||||
return new Intl.NumberFormat(i18n.language, {
|
||||
maximumFractionDigits: 1,
|
||||
maximumFractionDigits: 0,
|
||||
});
|
||||
}, [i18n.language]);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue