Skip to content

Commit

Permalink
ui fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
jenna-a2ai committed Nov 19, 2024
1 parent ef9c7e9 commit b0c3dd3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion inst/css/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -140,8 +140,10 @@ div[id$="-main_container"] {
.grid-items {
display: grid;
column-gap: 10px;
grid-template-columns: 67px minmax(100px, 1fr) minmax(125px, 1fr) 50px; /*minmax(100px, auto) */
grid-template-columns: 67px minmax(100px, 1fr) minmax(125px, 1fr) minmax(50px, auto); /*minmax(100px, auto) */
margin-bottom: 15px;
width: 100%;
transition: 0.5s;
}

/*
Expand Down
2 changes: 1 addition & 1 deletion inst/js/adjust_grid.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ export function adjust_grid(ns) {
rows.forEach((row, index) => {
if (row) {
row.style.transition = 'all 0.5s ease';
row.style.gridTemplateColumns = `67px minmax(125px, 1fr) minmax(125px, 1fr) 50px`; //minmax(100px, ${maxWidth}px)
//row.style.gridTemplateColumns = `67px minmax(125px, 1fr) minmax(125px, 1fr) minmax(50px, auto)`; // ${maxWidth}px
} else {
console.warn(`Row ${index} is undefined`);
}
Expand Down

0 comments on commit b0c3dd3

Please sign in to comment.