Skip to content

Commit

Permalink
Add custom css file
Browse files Browse the repository at this point in the history
  • Loading branch information
Kidd254 committed Feb 28, 2024
1 parent 3b1be0f commit d397073
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
5 changes: 5 additions & 0 deletions src/assets/styles/custom.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
3 changes: 2 additions & 1 deletion src/components/List.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import { useSelector, useDispatch } from 'react-redux';
import { useNavigate } from 'react-router-dom';
import { getLocation } from '../redux/list/listSlice';
import { fetchResidents } from '../redux/location/residentsSlice';
import '../assets/styles/custom.css';

const List = () => {
const dispatch = useDispatch();
Expand Down Expand Up @@ -113,7 +114,7 @@ const List = () => {

return (
<div key={location.id} className="col mb-4">
<div className="card p-3 border-info cursor-pointer">
<div className="card p-3 border-info cursor">
{location.residentURLs.map((residentURL) => {
const residentId = residentURL.split('/').pop();
const resident = residentMap[residentId];
Expand Down

0 comments on commit d397073

Please sign in to comment.