Skip to content
This repository has been archived by the owner on Nov 30, 2022. It is now read-only.

Commit

Permalink
Fixes issue with jumpy column width (#184)
Browse files Browse the repository at this point in the history
Fixes #182 

Did not implement "ellipis in the middle of the field name", since there was no easy solution to this. Should be a separate issue.
  • Loading branch information
Helene Rignér committed Feb 18, 2019
1 parent e5eae5e commit f76d0a1
Show file tree
Hide file tree
Showing 10 changed files with 9 additions and 1 deletion.
3 changes: 3 additions & 0 deletions src/components/model.pcss
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@
height: 5em;
justify-content: center;
min-height: 5em;
text-align: center;
word-break: break-word;

.nbr-of-rows {
font-weight: 400;
Expand Down Expand Up @@ -182,6 +184,7 @@

.column {
box-sizing: border-box;
max-width: 48rem;
padding: 3.5em;
}

Expand Down
7 changes: 6 additions & 1 deletion src/components/table-field.pcss
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,12 @@
padding: 1em;
position: relative;

.name,
.bartext {
margin-right: 1em;
padding: 0 0.5em;
}

&:hover {
box-shadow: 0 0 2em -0.5em #999;
}
Expand All @@ -36,7 +42,6 @@
.name {
background-color: #019b39;
color: white;
padding: 0 0.5em;
}
}

Expand Down
Binary file modified test/e2e/__artifacts__/baseline/cleared-selections.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified test/e2e/__artifacts__/baseline/created-hypercube.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified test/e2e/__artifacts__/baseline/extra-information-box.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified test/e2e/__artifacts__/baseline/loaded-app.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified test/e2e/__artifacts__/baseline/open-hypercube-view.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified test/e2e/__artifacts__/baseline/opened-menu.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified test/e2e/__artifacts__/baseline/selection.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit f76d0a1

Please sign in to comment.