diff --git a/src/components/todoStuff/todoCard.js b/src/components/todoStuff/todoCard.js
index 3f44fb9..7901bf0 100644
--- a/src/components/todoStuff/todoCard.js
+++ b/src/components/todoStuff/todoCard.js
@@ -37,7 +37,7 @@ export default function TodoCard(props) {
{`#${id}`}
diff --git a/src/components/todoStuff/todoTable.js b/src/components/todoStuff/todoTable.js
index dcff74e..eafc314 100644
--- a/src/components/todoStuff/todoTable.js
+++ b/src/components/todoStuff/todoTable.js
@@ -20,29 +20,31 @@ export default function TodoBoard(props) {
return (
{table.name}
- {tableCards.map((card, i) => {
- const shouldHide =
- card.state !== key ||
- (selectedGroup !== null &&
- selectedGroup !== 'uncat' &&
- card.group !== selectedGroup) ||
- (selectedGroup === 'uncat' && card.group !== undefined)
+
+ {tableCards.map((card, i) => {
+ const shouldHide =
+ card.state !== key ||
+ (selectedGroup !== null &&
+ selectedGroup !== 'uncat' &&
+ card.group !== selectedGroup) ||
+ (selectedGroup === 'uncat' && card.group !== undefined)
- if (shouldHide) {
- return null
- }
+ if (shouldHide) {
+ return null
+ }
- return (
-
- )
- })}
+ return (
+
+ )
+ })}
+
)
})}
diff --git a/src/components/todoStuff/todoTable.module.css b/src/components/todoStuff/todoTable.module.css
index 58fbb06..3e2481f 100644
--- a/src/components/todoStuff/todoTable.module.css
+++ b/src/components/todoStuff/todoTable.module.css
@@ -20,3 +20,9 @@
font-size: 20px;
font-weight: bold;
}
+
+.scroll {
+ max-height: 500px;
+ overflow-y: auto;
+ overflow-x: hidden;
+}
diff --git a/src/components/todoStuff/todos.js b/src/components/todoStuff/todos.js
index 9edfd39..6f43944 100644
--- a/src/components/todoStuff/todos.js
+++ b/src/components/todoStuff/todos.js
@@ -24,7 +24,6 @@ export default function Todos() {
const [selectedGroup, setSelectedGroup] = useState(null)
useEffect(() => {
- console.info('Fetching todos')
fetch(`${constants.apiUrl}todos`, {
credentials: 'include',
})
diff --git a/src/defaultStyles.css b/src/defaultStyles.css
index 2c27fc1..a8ac185 100644
--- a/src/defaultStyles.css
+++ b/src/defaultStyles.css
@@ -461,7 +461,7 @@ select:hover {
.description {
padding-top: 1px;
- padding-bottom: 10px;
+ padding-bottom: 5px;
font-size: inherit;
color: inherit;
text-align: center;
diff --git a/src/pages/allQuestions.js b/src/pages/allQuestions.js
index 3b8ce78..6516b3d 100644
--- a/src/pages/allQuestions.js
+++ b/src/pages/allQuestions.js
@@ -107,13 +107,23 @@ export default function AllQuestions({ router }) {
-
- Ezen az oldalon tudsz manuálisan keresni a kérdések és a tárgyak
- között, vagy ellenőrizni, hogy egy adott tárgy szerepel-e a
- kérdés- és tárgyadatbázisban. Ezen kívül a kérdéseket le is
- töltheted offline használatra. (txt formátumban)
-
+ Ezen az oldalon tudsz manuálisan keresni a kérdések és a tárgyak
+ között, vagy ellenőrizni, hogy egy adott tárgy szerepel-e a kérdés-
+ és tárgyadatbázisban. Ezen kívül a kérdéseket le is töltheted
+ offline használatra. (txt formátumban)
+