Skip to content

Commit b0b292f

Browse files
authored
Merge pull request #1984 from bluewave-labs/develop-saas
Develop saas -> Master saas
2 parents 4d597a9 + 554b7e9 commit b0b292f

File tree

5 files changed

+11
-10
lines changed

5 files changed

+11
-10
lines changed

Clients/src/presentation/components/Drawer/AnnexDrawerDialog/index.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -527,7 +527,7 @@ const VWISO42001AnnexDrawerDialog = ({
527527
sx={{
528528
mt: 2,
529529
borderRadius: 2,
530-
width: 155,
530+
minWidth: 155, // minimum width
531531
height: 25,
532532
fontSize: 11,
533533
border: "1px solid #D0D5DD",
@@ -540,7 +540,7 @@ const VWISO42001AnnexDrawerDialog = ({
540540
onClick={() => setIsFileUploadOpen(true)}
541541
disabled={isEditingDisabled}
542542
>
543-
Add/Remove evidence
543+
Add, remove or download evidence
544544
</Button>
545545
<Stack direction="row" spacing={10}>
546546
<Typography

Clients/src/presentation/components/Drawer/ClauseDrawerDialog/index.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -489,7 +489,7 @@ const VWISO42001ClauseDrawerDialog = ({
489489
sx={{
490490
mt: 2,
491491
borderRadius: 2,
492-
width: 155,
492+
minWidth: 155, // minimum width
493493
height: 25,
494494
fontSize: 11,
495495
border: "1px solid #D0D5DD",
@@ -502,7 +502,7 @@ const VWISO42001ClauseDrawerDialog = ({
502502
onClick={() => setIsFileUploadOpen(true)}
503503
disabled={isEditingDisabled}
504504
>
505-
Add/Remove evidence
505+
Add, remove or download evidence
506506
</Button>
507507
<Stack direction="row" spacing={10}>
508508
<Typography

Clients/src/presentation/components/Modals/ComplianceFeedback/ComplianceFeedback.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ const AuditorFeedback: React.FC<AuditorFeedbackProps> = ({
149149
sx={{
150150
mt: 2,
151151
borderRadius: 2,
152-
width: 155,
152+
minWidth: 155, // minimum width
153153
height: 25,
154154
fontSize: 11,
155155
border: "1px solid #D0D5DD",
@@ -162,7 +162,7 @@ const AuditorFeedback: React.FC<AuditorFeedbackProps> = ({
162162
onClick={() => setIsFileUploadOpen(true)}
163163
disabled={readOnly}
164164
>
165-
Add/Remove evidence
165+
Add, remove or download evidence
166166
</Button>
167167
<Stack direction="row" spacing={10}>
168168
<Typography

Clients/src/presentation/components/VWQuestion/index.tsx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -322,16 +322,17 @@ const QuestionFrame = ({
322322
<Button
323323
variant="contained"
324324
sx={{
325-
width: 155,
325+
minWidth: 155, // minimum width
326326
border: "1px solid #D0D5DD",
327327
backgroundColor: "white",
328328
color: "#344054",
329+
flexShrink: 0, // prevent shrinking in flex layouts
329330
}}
330331
disableRipple
331332
onClick={() => setIsFileUploadOpen(true)}
332333
disabled={isEditingDisabled}
333334
>
334-
Add/Remove evidence
335+
Add, remove or download evidence
335336
</Button>
336337
<Typography
337338
sx={{

Clients/src/presentation/pages/Assessment/NewAssessment/AssessmentQuestions/AssessmentQuestions.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ const AssessmentQuestions = ({
150150
sx={{
151151
mt: 2,
152152
borderRadius: 2,
153-
width: 155,
153+
minWidth: 155, // ✅ minimum width
154154
height: 25,
155155
fontSize: 11,
156156
border: "1px solid #D0D5DD",
@@ -162,7 +162,7 @@ const AssessmentQuestions = ({
162162
}
163163
onClick={handleOpenFileUploadModal}
164164
>
165-
Add/Remove evidence
165+
Add, remove or download evidence
166166
</Button>
167167
<Typography
168168
sx={{ fontSize: 11, color: "#344054", fontWeight: "300" }}

0 commit comments

Comments
 (0)