diff --git a/src/defaultStyles.css b/src/defaultStyles.css index 7a35e51..52470ca 100644 --- a/src/defaultStyles.css +++ b/src/defaultStyles.css @@ -215,15 +215,6 @@ a { color: black; } -.searchBar { - margin: 10px; - width: 100%; - color: white; - background-color: #212127; - border: none; - font-size: 18px; -} - .subjItem:hover:not(.activeSubjItem) { background-color: #555; color: white; diff --git a/src/pages/allQuestions.js b/src/pages/allQuestions.js index 93820b2..6ecfd18 100644 --- a/src/pages/allQuestions.js +++ b/src/pages/allQuestions.js @@ -4,6 +4,7 @@ import fetch from 'unfetch' import LoadingIndicator from '../components/LoadingIndicator.js' import QuestionSearchResult from '../components/QuestionSearchResult.js' +import styles from './allQuestions.module.css' import constants from '../constants.json' export default function AllQuestions (props) { @@ -23,14 +24,22 @@ export default function AllQuestions (props) { if (data) { return (