Skip to content

Commit

Permalink
remove animation
Browse files Browse the repository at this point in the history
  • Loading branch information
toni-santos committed Dec 18, 2023
1 parent 24a2358 commit 93f9ef4
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 12 deletions.
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 @@ -10,10 +10,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
14 changes: 4 additions & 10 deletions css/classPage.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,8 @@
}

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

.classWrapper {
Expand Down Expand Up @@ -69,21 +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 {
table-layout: auto;
}

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

0 comments on commit 93f9ef4

Please sign in to comment.