Skip to content

Commit 8ca7256

Browse files
authored
Fix Modal CSS for images and table in markdown (#739) (#741)
* Fix Modal CSS * Address review comment * Address review comments --------- Signed-off-by: Tushar Goel <[email protected]>
1 parent 40d1450 commit 8ca7256

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

task-requests/details/style.css

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -494,6 +494,8 @@ table tr td {
494494
text-align: left;
495495
text-wrap: wrap;
496496
word-break: break-word;
497+
border: lightgray dotted;
498+
padding: 0.5rem;
497499
}
498500

499501
.requestor_description_details h1 {
@@ -504,6 +506,7 @@ table tr td {
504506
.requestor_description_details table td {
505507
border: 1px solid gray;
506508
padding: 0.5rem;
509+
white-space: nowrap;
507510
}
508511

509512
.requestor_description_details code,
@@ -512,6 +515,18 @@ table tr td {
512515
white-space: normal;
513516
}
514517

518+
.requestor_description_details img {
519+
width: 100%;
520+
}
521+
522+
.requestor_description_details table {
523+
display: block;
524+
width: 100%;
525+
width: max-content;
526+
max-width: 100%;
527+
overflow: auto;
528+
}
529+
515530
.requestor_details_modal_close {
516531
color: var(--color-gray-shade);
517532
float: right;

0 commit comments

Comments
 (0)