Skip to content

Commit

Permalink
fix again ... (#2749)
Browse files Browse the repository at this point in the history
  • Loading branch information
colombod committed Feb 17, 2023
1 parent a8b18e9 commit 7ceff87
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,9 @@ export class VariableGrid extends React.Component<VariableGridProps, VariableGri
const affectedColumn: any = document.querySelector(`col.${affectedColumnClass}`)!;

targetColumn.style["width"] = `${endSizePercentage}%`;
targetColumn.style["max-width"] = `${endSizePercentage}%`;
affectedColumn.style["width"] = `${w}%`;
affectedColumn.style["max-width"] = `${w}%`;
}
}
}
Expand Down
10 changes: 8 additions & 2 deletions src/polyglot-notebooks-ui-components/src/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,9 @@
table {
width: 100%;
border-collapse: collapse;
overflow-x: auto;
position: relative;
overflow-y: auto;
table-layout: fixed;
}

th,
Expand Down Expand Up @@ -52,7 +53,6 @@ td {

.table-container {
width: 100%;
margin: 5px;
}

.data-cell {
Expand Down Expand Up @@ -84,22 +84,28 @@ td {
}

col.name-column {
max-width: 20%;
width: 20%;
}

col.type-column {
max-width: 15%;
width: 15%;
}

col.value-column {
max-width: 40%;
width: 40%;
}

col.kernel-column {
max-width: 15%;
width: 15%;
}


col.actions-column {
max-width: 10%;
width: 10%;
}

Expand Down

0 comments on commit 7ceff87

Please sign in to comment.