Skip to content

Commit

Permalink
Creator pics are no longer wrong aspect ratio
Browse files Browse the repository at this point in the history
  • Loading branch information
crabbit-git committed Jul 3, 2022
1 parent da0b161 commit 4363768
Show file tree
Hide file tree
Showing 8 changed files with 10 additions and 12 deletions.
4 changes: 2 additions & 2 deletions client/src/components/CreatorsModal.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import React, { useState } from 'react';
import { useState } from 'react';
import { NavLink } from 'react-router-dom';
import Modal from 'react-modal';
import '../static/LandingModal.css';
import '../static/NavModals.css';

Modal.setAppElement('#root');

Expand Down
3 changes: 1 addition & 2 deletions client/src/components/DinoAdLib.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
import React, { useState } from 'react';
import { useState } from 'react';
import Modal from 'react-modal';
import { NavLink } from 'react-router-dom';

Modal.setAppElement('#root');

const DinoAdLibs = () => {

const [isOpen, setIsOpen] = useState(true);
const [isOpen2, setIsOpen2] = useState(true);
const [noun0, setNoun0] = useState('')
Expand Down
2 changes: 1 addition & 1 deletion client/src/components/DinoCard.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import React, { useState } from 'react';
import { useState } from 'react';
import '../static/DinoModal.css';
import { FontAwesomeIcon } from '@fortawesome/react-fontawesome';
import { faStar } from '@fortawesome/free-solid-svg-icons';
Expand Down
4 changes: 2 additions & 2 deletions client/src/components/LandingModal.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React, { useState } from 'react';
import '../static/LandingModal.css';
import { useState } from 'react';
import '../static/NavModals.css';
import Modal from 'react-modal';

Modal.setAppElement('#root');
Expand Down
2 changes: 1 addition & 1 deletion client/src/components/Navbar.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import {Link, useMatch, useResolvedPath} from 'react-router-dom';
import '../static/Navbar.css'
import '../static/LandingModal.css';
import '../static/NavModals.css';
import Search from './Search';
import DinoSounds from './DinoSounds';
import RandomFact from './RandomFact';
Expand Down
2 changes: 1 addition & 1 deletion client/src/components/RandomFact.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { useState } from 'react';
import Modal from 'react-modal';
import { NavLink } from 'react-router-dom';
import '../static/LandingModal.css';
import '../static/NavModals.css';

Modal.setAppElement('#root');

Expand Down
1 change: 0 additions & 1 deletion client/src/components/Search.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import '../static/Search.css'
import $ from 'jquery'
import React from 'react'

const Search = ({allDinosaurs}) => {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -156,8 +156,8 @@ h3.creator-title{
.creator-picture {
border: 3px solid #0e5573;
border-radius: 0px 10px 5px 10px;
height: 80%;
width: 20%;
height: 92px;
width: 92px;
}

.creator-ul {
Expand Down

0 comments on commit 4363768

Please sign in to comment.