aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/nodes/DataVizBox/components/Chart.scss
diff options
context:
space:
mode:
authorsrichman333 <sarah_n_richman@brown.edu>2023-10-16 15:40:20 -0400
committersrichman333 <sarah_n_richman@brown.edu>2023-10-16 15:40:20 -0400
commitfd6d900a03c5db3492a39b918660cc44297c96fd (patch)
tree4ad4d7c579e17f681ec15923befd160c533d48fc /src/client/views/nodes/DataVizBox/components/Chart.scss
parent8acaa16a276600d8c5a201f49099e551aeb55416 (diff)
parentf6337ba3244f2d7270dccb6b319c047e608c6a72 (diff)
Merge branch 'master' into dataViz-annotations
Diffstat (limited to 'src/client/views/nodes/DataVizBox/components/Chart.scss')
-rw-r--r--src/client/views/nodes/DataVizBox/components/Chart.scss40
1 files changed, 26 insertions, 14 deletions
diff --git a/src/client/views/nodes/DataVizBox/components/Chart.scss b/src/client/views/nodes/DataVizBox/components/Chart.scss
index a6ce0b88c..c788a64c2 100644
--- a/src/client/views/nodes/DataVizBox/components/Chart.scss
+++ b/src/client/views/nodes/DataVizBox/components/Chart.scss
@@ -92,21 +92,33 @@
.tableBox {
display: flex;
flex-direction: column;
+ cursor: default;
height: calc(100% - 40px); // bcz: hack 40px is the size of the button rows
- .table {
- height: 100%;
- }
-}
-.table-container {
- overflow: scroll;
- margin: 5px;
- margin-left: 25px;
- margin-right: 10px;
- margin-bottom: 0;
- tr td {
- height: $DATA_VIZ_TABLE_ROW_HEIGHT !important; // bcz: hack. you can't set a <tr> height directly, but you can set the height of all of it's <td>s. So this is the height of a tableBox row.
- padding: 0 !important;
- vertical-align: middle !important;
+ .tableBox-container {
+ overflow: scroll;
+ margin: 5px;
+ margin-left: 25px;
+ margin-right: 10px;
+ margin-bottom: 0;
+ .tableBox-table {
+ height: 100%;
+ width: 100%;
+ .tableBox-row {
+ cursor: pointer;
+ .tableBox-cell {
+ text-overflow: ellipsis;
+ width: 100%;
+ white-space: pre;
+ max-width: 150;
+ overflow: hidden;
+ }
+ }
+ }
+ tr td {
+ height: $DATA_VIZ_TABLE_ROW_HEIGHT !important; // bcz: hack. you can't set a <tr> height directly, but you can set the height of all of it's <td>s. So this is the height of a tableBox row.
+ padding: 0 !important;
+ vertical-align: middle !important;
+ }
}
}
.selectAll-buttons {