Merge branch 'fixes' into 'main'
Fixes See merge request frontend/squiz!117
This commit is contained in:
commit
6d29e1f939
@ -151,7 +151,7 @@ export default function Main({ sidebar, header, footer, Page }: Props) {
|
|||||||
: "flex-start",
|
: "flex-start",
|
||||||
flexDirection: isMobile ? "row-reverse" : "-moz-initial",
|
flexDirection: isMobile ? "row-reverse" : "-moz-initial",
|
||||||
alignItems: "center",
|
alignItems: "center",
|
||||||
gap: "15px",
|
gap: isMobile ? "5px" : "15px",
|
||||||
background: "#FFF",
|
background: "#FFF",
|
||||||
borderTop: "#f2f3f7 2px solid",
|
borderTop: "#f2f3f7 2px solid",
|
||||||
}}
|
}}
|
||||||
|
@ -99,7 +99,7 @@ export default function QuizPreview() {
|
|||||||
rndPositionAndSizeRef.current.y = d.y;
|
rndPositionAndSizeRef.current.y = d.y;
|
||||||
}}
|
}}
|
||||||
onDragStart={(e, d) => {
|
onDragStart={(e, d) => {
|
||||||
e.preventDefault();
|
// e.preventDefault();
|
||||||
}}
|
}}
|
||||||
enableResizing={{
|
enableResizing={{
|
||||||
topLeft: isPreviewShown,
|
topLeft: isPreviewShown,
|
||||||
|
@ -45,7 +45,7 @@ export const ButtonRecallQuiz = () => {
|
|||||||
height: "34px",
|
height: "34px",
|
||||||
background: buttonText === "Опубликовано" ? "#FA5B0E" : "#7E2AEA",
|
background: buttonText === "Опубликовано" ? "#FA5B0E" : "#7E2AEA",
|
||||||
p: "0 18px",
|
p: "0 18px",
|
||||||
minWidth: "120px",
|
minWidth: "100px",
|
||||||
}}
|
}}
|
||||||
onClick={handleClickStatusQuiz}
|
onClick={handleClickStatusQuiz}
|
||||||
>
|
>
|
||||||
|
@ -20,6 +20,7 @@ export const ButtonTestPublication = () => {
|
|||||||
whiteSpace: "nowrap",
|
whiteSpace: "nowrap",
|
||||||
lineHeight: "18px",
|
lineHeight: "18px",
|
||||||
height: "34px",
|
height: "34px",
|
||||||
|
width: "146px",
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
Тестовый просмотр
|
Тестовый просмотр
|
||||||
@ -36,7 +37,7 @@ export const ButtonTestPublication = () => {
|
|||||||
lineHeight: "18px",
|
lineHeight: "18px",
|
||||||
height: "34px",
|
height: "34px",
|
||||||
whiteSpace: "nowrap",
|
whiteSpace: "nowrap",
|
||||||
minWidth: "130px",
|
minWidth: "116px",
|
||||||
}}
|
}}
|
||||||
onClick={() =>
|
onClick={() =>
|
||||||
Object.keys(whyCantCreatePublic).length === 0
|
Object.keys(whyCantCreatePublic).length === 0
|
||||||
|
Loading…
Reference in New Issue
Block a user