Skip to content

Commit 4fc3b85

Browse files
committed
EES-5544 layout polish
1 parent 5d9761c commit 4fc3b85

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

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

+2-1
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,9 @@
1111
}
1212

1313
.fileSize {
14-
width: 5rem;
1514
text-align: right;
15+
white-space: nowrap;
16+
width: 5rem;
1617
}
1718

1819
.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)