@capytale/meta-player 0.8.3 → 0.9.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (106) hide show
  1. package/.prettierrc.json +4 -4
  2. package/LICENSE +674 -674
  3. package/README.md +12 -12
  4. package/eslint.config.js +28 -28
  5. package/index.html +15 -15
  6. package/package.json +60 -60
  7. package/public/themes/lara-dark-blue/theme.css +7015 -7015
  8. package/public/themes/lara-light-blue/theme.css +7005 -7005
  9. package/src/App.tsx +140 -139
  10. package/src/AppRedux.css +39 -39
  11. package/src/MetaPlayer.tsx +170 -170
  12. package/src/activityJs.ts +7 -7
  13. package/src/app/createAppSlice.ts +6 -6
  14. package/src/app/hooks.ts +12 -12
  15. package/src/app/store.ts +52 -52
  16. package/src/app.module.scss +80 -80
  17. package/src/demo.tsx +87 -87
  18. package/src/external/prime.ts +5 -5
  19. package/src/features/activityData/ExitWarning.ts +28 -28
  20. package/src/features/activityData/IsAntiCheatExitDetectionDisabledSetter.tsx +19 -19
  21. package/src/features/activityData/IsDirtySetter.tsx +17 -17
  22. package/src/features/activityData/MetaPlayerOptionsSetter.tsx +41 -41
  23. package/src/features/activityData/activityDataSlice.ts +252 -256
  24. package/src/features/activityData/activityJsData.ts +82 -82
  25. package/src/features/activityData/hooks.ts +34 -34
  26. package/src/features/activityData/metaPlayerOptions.ts +23 -23
  27. package/src/features/activityData/uiState.ts +20 -20
  28. package/src/features/activityJS/ActivityJSProvider.tsx +339 -339
  29. package/src/features/activityJS/AfterResetAction.tsx +23 -23
  30. package/src/features/activityJS/AfterSaveAction.tsx +23 -23
  31. package/src/features/activityJS/BeforeResetAction.tsx +23 -23
  32. package/src/features/activityJS/BeforeSaveAction.tsx +23 -23
  33. package/src/features/activityJS/Saver.tsx +167 -167
  34. package/src/features/activityJS/hooks.ts +85 -85
  35. package/src/features/activityJS/internal-hooks.ts +96 -96
  36. package/src/features/activityJS/saverSlice.ts +96 -96
  37. package/src/features/activitySettings/ActivitySettingsSetter.tsx +21 -21
  38. package/src/features/activitySettings/hooks.ts +12 -12
  39. package/src/features/activitySettings/index.tsx +43 -43
  40. package/src/features/activitySettings/store.ts +108 -108
  41. package/src/features/activitySettings/style.module.scss +8 -8
  42. package/src/features/activitySettings/types.ts +140 -140
  43. package/src/features/activitySettings/ui.tsx +299 -299
  44. package/src/features/functionalities/AttachedFilesFunctionality.ts +23 -23
  45. package/src/features/functionalities/PreviewDialog.tsx +83 -83
  46. package/src/features/functionalities/functionalitiesSlice.ts +98 -98
  47. package/src/features/functionalities/hooks.ts +70 -70
  48. package/src/features/layout/hooks.ts +7 -7
  49. package/src/features/layout/layoutSlice.ts +93 -90
  50. package/src/features/navbar/activity-info/index.tsx +54 -54
  51. package/src/features/navbar/activity-info/style.module.scss +38 -38
  52. package/src/features/navbar/activity-menu/ActivityQuickActions.tsx +57 -57
  53. package/src/features/navbar/activity-menu/index.tsx +154 -154
  54. package/src/features/navbar/activity-menu/style.module.scss +7 -7
  55. package/src/features/navbar/capytale-menu/CloneDialog.tsx +75 -75
  56. package/src/features/navbar/capytale-menu/Countdown.tsx +312 -312
  57. package/src/features/navbar/capytale-menu/CountdownAndSaveButton.tsx +115 -115
  58. package/src/features/navbar/capytale-menu/index.tsx +260 -260
  59. package/src/features/navbar/capytale-menu/style.module.scss +8 -8
  60. package/src/features/navbar/index.tsx +39 -39
  61. package/src/features/navbar/navbarSlice.ts +79 -79
  62. package/src/features/navbar/review-navbar/GradingNav.tsx +128 -128
  63. package/src/features/navbar/review-navbar/index.tsx +18 -18
  64. package/src/features/navbar/review-navbar/style.module.scss +22 -22
  65. package/src/features/navbar/sidebars/ActivitySidebarActions.tsx +57 -57
  66. package/src/features/navbar/sidebars/AttachedFilesSidebarContent.module.scss +43 -43
  67. package/src/features/navbar/sidebars/AttachedFilesSidebarContent.tsx +181 -181
  68. package/src/features/navbar/sidebars/SettingsSidebarContent.tsx +192 -192
  69. package/src/features/navbar/sidebars/style.module.scss +15 -15
  70. package/src/features/navbar/student-utils.ts +11 -11
  71. package/src/features/navbar/style.module.scss +65 -65
  72. package/src/features/pedago/InstructionsEditor.tsx +102 -102
  73. package/src/features/pedago/PdfEditor.tsx +91 -91
  74. package/src/features/pedago/PedagoCommands.tsx +353 -353
  75. package/src/features/pedago/SharedNotesEditor.tsx +144 -144
  76. package/src/features/pedago/hooks.ts +99 -0
  77. package/src/features/pedago/index.tsx +197 -207
  78. package/src/features/pedago/style.module.scss +233 -233
  79. package/src/features/theming/ThemeSwitcher.tsx +51 -51
  80. package/src/features/theming/hooks.ts +6 -6
  81. package/src/features/theming/themingSlice.ts +93 -93
  82. package/src/features/toast.tsx +38 -38
  83. package/src/hooks/index.ts +16 -16
  84. package/src/index.css +132 -132
  85. package/src/index.ts +90 -90
  86. package/src/logo.svg +1 -1
  87. package/src/my_json_data.js +4146 -4146
  88. package/src/settings.ts +6 -6
  89. package/src/types.ts +9 -9
  90. package/src/utils/ButtonDoubleIcon.tsx +35 -35
  91. package/src/utils/CardSelector.tsx +41 -41
  92. package/src/utils/ErrorBoundary.tsx +41 -41
  93. package/src/utils/PopupButton.tsx +134 -134
  94. package/src/utils/activity.ts +8 -8
  95. package/src/utils/breakpoints.ts +4 -4
  96. package/src/utils/capytale.ts +10 -10
  97. package/src/utils/clipboard.ts +11 -11
  98. package/src/utils/download.ts +7 -7
  99. package/src/utils/equality.ts +32 -32
  100. package/src/utils/server-clock.ts +42 -42
  101. package/src/utils/style.module.scss +45 -45
  102. package/src/utils/useFullscreen.ts +65 -65
  103. package/src/vite-env.d.ts +1 -1
  104. package/tsconfig.json +28 -28
  105. package/tsconfig.node.json +9 -9
  106. package/vite.config.ts +11 -11
@@ -1,93 +1,93 @@
1
- import type { PayloadAction } from "@reduxjs/toolkit";
2
- import { createAppSlice } from "../../app/createAppSlice";
3
-
4
- type ThemeData = {
5
- id: string;
6
- name: string;
7
- path: string;
8
- isDark: boolean;
9
- };
10
-
11
- export interface ThemingState {
12
- themes: ThemeData[];
13
- currentTheme: number;
14
- previousTheme: number;
15
- autoSwitch: boolean;
16
- }
17
-
18
- const initialState: ThemingState = {
19
- themes: [
20
- {
21
- id: "light",
22
- name: "Clair",
23
- path: "https://cdn.ac-paris.fr/capytale/meta-player/themes/lara-light-blue/theme.css",
24
- isDark: false,
25
- },
26
- {
27
- id: "dark",
28
- name: "Sombre",
29
- path: "https://cdn.ac-paris.fr/capytale/meta-player/themes/lara-dark-blue/theme.css",
30
- isDark: true,
31
- },
32
- ],
33
- currentTheme: 0,
34
- previousTheme: 0,
35
- autoSwitch: false,
36
- };
37
-
38
- // If you are not using async thunks you can use the standalone `createSlice`.
39
- export const themingSlice = createAppSlice({
40
- name: "theming",
41
- // `createSlice` will infer the state type from the `initialState` argument
42
- initialState,
43
- // The `reducers` field lets us define reducers and generate associated actions
44
- reducers: (create) => ({
45
- switchToNextTheme: create.reducer((state) => {
46
- // Redux Toolkit allows us to write "mutating" logic in reducers. It
47
- // doesn't actually mutate the state because it uses the Immer library,
48
- // which detects changes to a "draft state" and produces a brand new
49
- // immutable state based off those changes
50
- state.previousTheme = state.currentTheme;
51
- state.currentTheme = (state.currentTheme + 1) % state.themes.length;
52
- }),
53
- // Use the `PayloadAction` type to declare the contents of `action.payload`
54
- switchToTheme: create.reducer((state, action: PayloadAction<string>) => {
55
- state.previousTheme = state.currentTheme;
56
- state.currentTheme = state.themes.findIndex(
57
- (theme) => theme.id === action.payload,
58
- );
59
- }),
60
- setAutoSwitch: create.reducer((state, action: PayloadAction<boolean>) => {
61
- state.autoSwitch = action.payload;
62
- }),
63
- }),
64
- // You can define your selectors here. These selectors receive the slice
65
- // state as their first argument.
66
- selectors: {
67
- selectThemePath: (theming) => theming.themes[theming.currentTheme].path,
68
- selectPreviousThemePath: (theming) =>
69
- theming.themes[theming.previousTheme].path,
70
- selectThemeName: (theming) => theming.themes[theming.currentTheme].name,
71
- selectThemeIsDark: (theming) => theming.themes[theming.currentTheme].isDark,
72
- selectAutoSwitch: (theming) => theming.autoSwitch,
73
- selectThemeNameOrAuto: (theming) => {
74
- return theming.autoSwitch
75
- ? "Système (auto)"
76
- : theming.themes[theming.currentTheme].name;
77
- },
78
- },
79
- });
80
-
81
- // Action creators are generated for each case reducer function.
82
- export const { switchToNextTheme, switchToTheme, setAutoSwitch } =
83
- themingSlice.actions;
84
-
85
- // Selectors returned by `slice.selectors` take the root state as their first argument.
86
- export const {
87
- selectThemePath,
88
- selectPreviousThemePath,
89
- selectThemeName,
90
- selectThemeIsDark,
91
- selectAutoSwitch,
92
- selectThemeNameOrAuto,
93
- } = themingSlice.selectors;
1
+ import type { PayloadAction } from "@reduxjs/toolkit";
2
+ import { createAppSlice } from "../../app/createAppSlice";
3
+
4
+ type ThemeData = {
5
+ id: string;
6
+ name: string;
7
+ path: string;
8
+ isDark: boolean;
9
+ };
10
+
11
+ export interface ThemingState {
12
+ themes: ThemeData[];
13
+ currentTheme: number;
14
+ previousTheme: number;
15
+ autoSwitch: boolean;
16
+ }
17
+
18
+ const initialState: ThemingState = {
19
+ themes: [
20
+ {
21
+ id: "light",
22
+ name: "Clair",
23
+ path: "https://cdn.ac-paris.fr/capytale/meta-player/themes/lara-light-blue/theme.css",
24
+ isDark: false,
25
+ },
26
+ {
27
+ id: "dark",
28
+ name: "Sombre",
29
+ path: "https://cdn.ac-paris.fr/capytale/meta-player/themes/lara-dark-blue/theme.css",
30
+ isDark: true,
31
+ },
32
+ ],
33
+ currentTheme: 0,
34
+ previousTheme: 0,
35
+ autoSwitch: false,
36
+ };
37
+
38
+ // If you are not using async thunks you can use the standalone `createSlice`.
39
+ export const themingSlice = createAppSlice({
40
+ name: "theming",
41
+ // `createSlice` will infer the state type from the `initialState` argument
42
+ initialState,
43
+ // The `reducers` field lets us define reducers and generate associated actions
44
+ reducers: (create) => ({
45
+ switchToNextTheme: create.reducer((state) => {
46
+ // Redux Toolkit allows us to write "mutating" logic in reducers. It
47
+ // doesn't actually mutate the state because it uses the Immer library,
48
+ // which detects changes to a "draft state" and produces a brand new
49
+ // immutable state based off those changes
50
+ state.previousTheme = state.currentTheme;
51
+ state.currentTheme = (state.currentTheme + 1) % state.themes.length;
52
+ }),
53
+ // Use the `PayloadAction` type to declare the contents of `action.payload`
54
+ switchToTheme: create.reducer((state, action: PayloadAction<string>) => {
55
+ state.previousTheme = state.currentTheme;
56
+ state.currentTheme = state.themes.findIndex(
57
+ (theme) => theme.id === action.payload,
58
+ );
59
+ }),
60
+ setAutoSwitch: create.reducer((state, action: PayloadAction<boolean>) => {
61
+ state.autoSwitch = action.payload;
62
+ }),
63
+ }),
64
+ // You can define your selectors here. These selectors receive the slice
65
+ // state as their first argument.
66
+ selectors: {
67
+ selectThemePath: (theming) => theming.themes[theming.currentTheme].path,
68
+ selectPreviousThemePath: (theming) =>
69
+ theming.themes[theming.previousTheme].path,
70
+ selectThemeName: (theming) => theming.themes[theming.currentTheme].name,
71
+ selectThemeIsDark: (theming) => theming.themes[theming.currentTheme].isDark,
72
+ selectAutoSwitch: (theming) => theming.autoSwitch,
73
+ selectThemeNameOrAuto: (theming) => {
74
+ return theming.autoSwitch
75
+ ? "Système (auto)"
76
+ : theming.themes[theming.currentTheme].name;
77
+ },
78
+ },
79
+ });
80
+
81
+ // Action creators are generated for each case reducer function.
82
+ export const { switchToNextTheme, switchToTheme, setAutoSwitch } =
83
+ themingSlice.actions;
84
+
85
+ // Selectors returned by `slice.selectors` take the root state as their first argument.
86
+ export const {
87
+ selectThemePath,
88
+ selectPreviousThemePath,
89
+ selectThemeName,
90
+ selectThemeIsDark,
91
+ selectAutoSwitch,
92
+ selectThemeNameOrAuto,
93
+ } = themingSlice.selectors;
@@ -1,38 +1,38 @@
1
- import { Toast } from "primereact/toast";
2
- import {
3
- createContext,
4
- FC,
5
- PropsWithChildren,
6
- useContext,
7
- useEffect,
8
- useRef,
9
- useState,
10
- } from "react";
11
-
12
- const ToastContext = createContext<Toast | null>(null);
13
-
14
- export const ToastProvider: FC<PropsWithChildren<{}>> = ({ children }) => {
15
- const toast = useRef<Toast>(null);
16
- const [loaded, setLoaded] = useState(false);
17
- useEffect(() => {
18
- setLoaded(true);
19
- }, []);
20
- return (
21
- <>
22
- <Toast ref={toast} position="bottom-right" />
23
- {loaded && (
24
- <ToastContext.Provider value={toast.current}>
25
- {children}
26
- </ToastContext.Provider>
27
- )}
28
- </>
29
- );
30
- };
31
-
32
- export const useToast = () => {
33
- const context = useContext(ToastContext);
34
- if (!context) {
35
- throw new Error("useToast must be used within a ToastProvider");
36
- }
37
- return context;
38
- };
1
+ import { Toast } from "primereact/toast";
2
+ import {
3
+ createContext,
4
+ FC,
5
+ PropsWithChildren,
6
+ useContext,
7
+ useEffect,
8
+ useRef,
9
+ useState,
10
+ } from "react";
11
+
12
+ const ToastContext = createContext<Toast | null>(null);
13
+
14
+ export const ToastProvider: FC<PropsWithChildren<{}>> = ({ children }) => {
15
+ const toast = useRef<Toast>(null);
16
+ const [loaded, setLoaded] = useState(false);
17
+ useEffect(() => {
18
+ setLoaded(true);
19
+ }, []);
20
+ return (
21
+ <>
22
+ <Toast ref={toast} position="bottom-right" />
23
+ {loaded && (
24
+ <ToastContext.Provider value={toast.current}>
25
+ {children}
26
+ </ToastContext.Provider>
27
+ )}
28
+ </>
29
+ );
30
+ };
31
+
32
+ export const useToast = () => {
33
+ const context = useContext(ToastContext);
34
+ if (!context) {
35
+ throw new Error("useToast must be used within a ToastProvider");
36
+ }
37
+ return context;
38
+ };
@@ -1,16 +1,16 @@
1
- import { ActivityMode } from "@capytale/activity.js/activity/activitySession";
2
- import { useAppSelector } from "../app/hooks";
3
- import {
4
- selectMode,
5
- selectWorkflow,
6
- } from "../features/activityData/activityDataSlice";
7
-
8
- export const useMode = () => {
9
- const mode: ActivityMode = useAppSelector(selectMode);
10
- return mode;
11
- };
12
-
13
- export const useWorkflow = () => {
14
- const workflow = useAppSelector(selectWorkflow);
15
- return workflow;
16
- };
1
+ import { ActivityMode } from "@capytale/activity.js/activity/activitySession";
2
+ import { useAppSelector } from "../app/hooks";
3
+ import {
4
+ selectMode,
5
+ selectWorkflow,
6
+ } from "../features/activityData/activityDataSlice";
7
+
8
+ export const useMode = () => {
9
+ const mode: ActivityMode = useAppSelector(selectMode);
10
+ return mode;
11
+ };
12
+
13
+ export const useWorkflow = () => {
14
+ const workflow = useAppSelector(selectWorkflow);
15
+ return workflow;
16
+ };
package/src/index.css CHANGED
@@ -1,133 +1,133 @@
1
- body {
2
- margin: 0;
3
- font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen",
4
- "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue",
5
- sans-serif;
6
- -webkit-font-smoothing: antialiased;
7
- -moz-osx-font-smoothing: grayscale;
8
- }
9
-
10
- code {
11
- font-family: source-code-pro, Menlo, Monaco, Consolas, "Courier New",
12
- monospace;
13
- }
14
-
15
- html {
16
- overscroll-behavior: none;
17
- }
18
-
19
- html,
20
- body,
21
- #root {
22
- height: 100%;
23
- }
24
-
25
- .p-splitter-horizontal > .p-splitter-gutter {
26
- width: 6px !important;
27
- }
28
- .p-splitter-vertical > .p-splitter-gutter {
29
- height: 6px !important;
30
- }
31
-
32
- @media (pointer: coarse) {
33
- .p-splitter-horizontal > .p-splitter-gutter {
34
- width: 12px !important;
35
- }
36
- .p-splitter-vertical > .p-splitter-gutter {
37
- height: 12px !important;
38
- }
39
- }
40
-
41
- .p-splitter-gutter {
42
- background-color: var(--surface-200);
43
- }
44
-
45
- .p-splitter-gutter-handle,
46
- .p-splitter-gutter-resizing {
47
- background-color: var(--surface-400);
48
- }
49
-
50
- *:has(> .editor-shell) {
51
- /* Rich text editor */
52
- background-color: white;
53
- color-scheme: light;
54
- }
55
-
56
- .editor-shell {
57
- text-align: start;
58
- width: 100%;
59
- }
60
-
61
- .p-splitter-panel:has(> .meta-player-content-cover) {
62
- position: relative;
63
- }
64
-
65
- .meta-player-content-cover {
66
- display: none;
67
- width: 100%;
68
- height: 100%;
69
- position: absolute;
70
- top: 0;
71
- left: 0;
72
- z-index: 1000;
73
- background-color: rgba(0, 0, 0, 0);
74
- .p-splitter-resizing & {
75
- display: block;
76
- }
77
- }
78
-
79
- #meta-player-content {
80
- height: 100%;
81
- background-color: var(--surface-a);
82
- }
83
-
84
- :has(> #meta-player-content) {
85
- height: 100%;
86
- background-color: var(--surface-a);
87
- }
88
-
89
- .sidebarFieldset {
90
- margin-bottom: 8px;
91
- }
92
-
93
- .sidebarRadioButtons {
94
- display: flex;
95
- flex-direction: column;
96
- gap: 4px;
97
- }
98
-
99
- .sidebarRadioGroup {
100
- display: flex;
101
- gap: 8px;
102
- align-items: center;
103
- }
104
-
105
- #metaPlayerHelpDialog {
106
- width: 80vw;
107
- height: 80vh;
108
- }
109
-
110
- #metaPlayerHelpDialog_content {
111
- padding: 0;
112
- & iframe {
113
- width: 100%;
114
- height: 100%;
115
- border: 0;
116
- display: block;
117
- }
118
- }
119
-
120
- .anti-cheat-content {
121
- height: 100vh;
122
- height: 100dvh;
123
- width: 100vw;
124
- overflow: hidden;
125
- }
126
-
127
- .anti-cheat h1:first-child {
128
- margin-top: 0;
129
- }
130
-
131
- .p-button-group .p-button:not(:last-child):not(:active):not(:focus) {
132
- border-right: 0 !important;
1
+ body {
2
+ margin: 0;
3
+ font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen",
4
+ "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue",
5
+ sans-serif;
6
+ -webkit-font-smoothing: antialiased;
7
+ -moz-osx-font-smoothing: grayscale;
8
+ }
9
+
10
+ code {
11
+ font-family: source-code-pro, Menlo, Monaco, Consolas, "Courier New",
12
+ monospace;
13
+ }
14
+
15
+ html {
16
+ overscroll-behavior: none;
17
+ }
18
+
19
+ html,
20
+ body,
21
+ #root {
22
+ height: 100%;
23
+ }
24
+
25
+ .p-splitter-horizontal > .p-splitter-gutter {
26
+ width: 6px !important;
27
+ }
28
+ .p-splitter-vertical > .p-splitter-gutter {
29
+ height: 6px !important;
30
+ }
31
+
32
+ @media (pointer: coarse) {
33
+ .p-splitter-horizontal > .p-splitter-gutter {
34
+ width: 12px !important;
35
+ }
36
+ .p-splitter-vertical > .p-splitter-gutter {
37
+ height: 12px !important;
38
+ }
39
+ }
40
+
41
+ .p-splitter-gutter {
42
+ background-color: var(--surface-200);
43
+ }
44
+
45
+ .p-splitter-gutter-handle,
46
+ .p-splitter-gutter-resizing {
47
+ background-color: var(--surface-400);
48
+ }
49
+
50
+ *:has(> .editor-shell) {
51
+ /* Rich text editor */
52
+ background-color: white;
53
+ color-scheme: light;
54
+ }
55
+
56
+ .editor-shell {
57
+ text-align: start;
58
+ width: 100%;
59
+ }
60
+
61
+ .p-splitter-panel:has(> .meta-player-content-cover) {
62
+ position: relative;
63
+ }
64
+
65
+ .meta-player-content-cover {
66
+ display: none;
67
+ width: 100%;
68
+ height: 100%;
69
+ position: absolute;
70
+ top: 0;
71
+ left: 0;
72
+ z-index: 1000;
73
+ background-color: rgba(0, 0, 0, 0);
74
+ .p-splitter-resizing & {
75
+ display: block;
76
+ }
77
+ }
78
+
79
+ #meta-player-content {
80
+ height: 100%;
81
+ background-color: var(--surface-a);
82
+ }
83
+
84
+ :has(> #meta-player-content) {
85
+ height: 100%;
86
+ background-color: var(--surface-a);
87
+ }
88
+
89
+ .sidebarFieldset {
90
+ margin-bottom: 8px;
91
+ }
92
+
93
+ .sidebarRadioButtons {
94
+ display: flex;
95
+ flex-direction: column;
96
+ gap: 4px;
97
+ }
98
+
99
+ .sidebarRadioGroup {
100
+ display: flex;
101
+ gap: 8px;
102
+ align-items: center;
103
+ }
104
+
105
+ #metaPlayerHelpDialog {
106
+ width: 80vw;
107
+ height: 80vh;
108
+ }
109
+
110
+ #metaPlayerHelpDialog_content {
111
+ padding: 0;
112
+ & iframe {
113
+ width: 100%;
114
+ height: 100%;
115
+ border: 0;
116
+ display: block;
117
+ }
118
+ }
119
+
120
+ .anti-cheat-content {
121
+ height: 100vh;
122
+ height: 100dvh;
123
+ width: 100vw;
124
+ overflow: hidden;
125
+ }
126
+
127
+ .anti-cheat h1:first-child {
128
+ margin-top: 0;
129
+ }
130
+
131
+ .p-button-group .p-button:not(:last-child):not(:active):not(:focus) {
132
+ border-right: 0 !important;
133
133
  }