Skip to content

Commit

Permalink
Merge pull request #168 from NIAEFEUP/main
Browse files Browse the repository at this point in the history
Merge main into develop
  • Loading branch information
ttoino authored Apr 11, 2024
2 parents 857d5ee + ac0d538 commit 5769556
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 14 deletions.
2 changes: 1 addition & 1 deletion content-scripts/src/modules/initialize.js
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,7 @@ export const addSortTableActions = () => {
return firstClass.startsWith("i") || firstClass.startsWith("p") || firstClass.startsWith("d");
})

console.log("rows", rowsToSort)
// console.log("rows", rowsToSort)

index += aditionalColspan-1;

Expand Down
4 changes: 2 additions & 2 deletions content-scripts/src/pages/class_page.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ const removeExtras = () => {
const titleClick = (table, title) => {
if (title.dataset.expand == "true") {
title.dataset.expand = "false";
table.style.gridTemplateRows = "0fr";
table.style.height = "0px";
} else {
title.dataset.expand = "true";
table.style.gridTemplateRows = "1fr";
table.style.height = "100%";
}
}

Expand Down
19 changes: 8 additions & 11 deletions css/classPage.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,8 @@
}

.tableWrapper {
overflow: hidden;
display: grid;
transition: grid-template-rows 0.5s ease-in-out;
grid-template-rows: 1fr;
}

.tableWrapper > table {
display: grid;
overflow: hidden;
overflow-y: hidden;
overflow-x: scroll;
}

.classWrapper {
Expand Down Expand Up @@ -74,13 +67,17 @@ dialog[id^="photosDialog"]::backdrop {
}

.titleWrapper[data-expand="true"] .rightChevron {
transform: rotate(0deg);
transform: rotate(-180deg);
}

.titleWrapper[data-expand="false"] .rightChevron {
transform: rotate(-180deg);
transform: rotate(0deg);
}

.tabela tr.k, .tabela td.k {
background-image: none;
}

.tabela tr:hover {
border: none !important;
}

0 comments on commit 5769556

Please sign in to comment.