mirror of
https://github.com/R0m1k3/LogiFlow.git
synced 2026-10-22 14:38:19 +02:00
3 files changed
+10
-2
No files matched your search
@@ -15,10 +15,18 @@ run = ["npm", "run", "start"]
|
|||||||
localPort = 5000
|
localPort = 5000
|
||||||
externalPort = 80
|
externalPort = 80
|
||||||
|
|
||||||
|
[[ports]]
|
||||||
|
localPort = 38451
|
||||||
|
externalPort = 3002
|
||||||
|
|
||||||
[[ports]]
|
[[ports]]
|
||||||
localPort = 41343
|
localPort = 41343
|
||||||
externalPort = 3001
|
externalPort = 3001
|
||||||
|
|
||||||
|
[[ports]]
|
||||||
|
localPort = 45213
|
||||||
|
externalPort = 3000
|
||||||
|
|
||||||
[workflows]
|
[workflows]
|
||||||
runButton = "Project"
|
runButton = "Project"
|
||||||
|
|
||||||
|
|||||||
Binary file not shown.
|
After Width: | Height: | Size: 222 KiB |
@@ -11,8 +11,8 @@ export interface PhoneModeConfig {
|
|||||||
export function usePhoneMode(): PhoneModeConfig {
|
export function usePhoneMode(): PhoneModeConfig {
|
||||||
const { isMobile, dimensions } = useScreenSize()
|
const { isMobile, dimensions } = useScreenSize()
|
||||||
|
|
||||||
// Déterminer si l'appareil peut bénéficier du mode téléphone
|
// L'icône de mode téléphone est toujours disponible pour permettre aux utilisateurs de tester
|
||||||
const canUsePhoneMode = isMobile || dimensions.width <= 480
|
const canUsePhoneMode = true
|
||||||
|
|
||||||
// Auto-suggestion pour très petits écrans (< 400px)
|
// Auto-suggestion pour très petits écrans (< 400px)
|
||||||
const autoSuggestPhoneMode = dimensions.width < 400
|
const autoSuggestPhoneMode = dimensions.width < 400
|
||||||
|
|||||||
Reference in new issue
Block a user