Skip to content

Commit 818f224

Browse files
Merge pull request #5574 from dfe-analytical-services/EES-5544-tweaks
EES-5544 layout polish
2 parents 5d9761c + a34fbc7 commit 818f224

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

src/explore-education-statistics-admin/src/pages/release/data/components/DataFilesTable.module.scss

+3-1
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,13 @@
88

99
.title {
1010
max-width: 500px;
11+
overflow-wrap: break-word;
1112
}
1213

1314
.fileSize {
14-
width: 5rem;
1515
text-align: right;
16+
white-space: nowrap;
17+
width: 5rem;
1618
}
1719

1820
.fileStatus {

src/explore-education-statistics-admin/src/pages/release/data/components/ReleaseDataUploadsSection.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,7 @@ const ReleaseDataUploadsSection = ({
249249
releaseId={releaseId}
250250
/>
251251

252-
{isReordering ? undefined : (
252+
{dataFiles.length < 2 || isReordering ? null : (
253253
<Button onClick={toggleReordering.on} variant="secondary">
254254
Reorder data files
255255
</Button>

src/explore-education-statistics-common/src/components/ProgressBar.module.scss

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ $bar-height: 10px;
88
border-radius: $bar-border-radius;
99
display: block;
1010
height: $bar-height;
11-
width: 100%;
11+
max-width: 100%;
1212
}
1313

1414
.bar {

0 commit comments

Comments
 (0)