Skip to content

Commit

Permalink
css changes
Browse files Browse the repository at this point in the history
  • Loading branch information
HarshithaSolai committed Feb 2, 2023
1 parent 03ecd0f commit cfe4194
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion index.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
@tailwind utilities;

.container {
@apply mt-24 min-h-screen;
@apply mt-24 min-h-[77vh];
}

.card-container {
Expand Down
6 changes: 3 additions & 3 deletions src/components/Footer.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ import { UserContext } from "../utils/UserContext";
export const Footer = () => {
const {user} = useContext(UserContext);
return (
<div className="flex justify-around w-full shadow h-14 bg-yellow text-blue-dark text-center leading-[3.5rem]">
<span className="text-left">Hey {user.name}.... Thanks for using Insta Food <span className="text-red">&#x2764;</span> </span>
<span className="text-center">Developed with <span className="text-red">&#x2764;</span> by Harshitha</span>
<div className="flex mob:flex-col justify-around w-full shadow h-14 bg-yellow text-blue-dark text-center leading-[3.5rem]">
<span className="text-left mob:text-xs mob:text-center">Hey {user.name}.... Thanks for using Insta Food <span className="text-red">&#x2764;</span> </span>
<span className="text-center mob:text-xs">Developed with <span className="text-red">&#x2764;</span> by Harshitha</span>
</div>
)
};
6 changes: 3 additions & 3 deletions tailwind.config.js
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
/** @type {import('tailwindcss').Config} */
const defaultTheme = require('tailwindcss/defaultTheme')

module.exports = {
content: [ "./src/**/*.{html,js}"],
theme: {
screens: {
"mob" : { max: "428px" },
"xsm" : { max : "640px"},
"sm" : { max : "768px" },
"md" : { max : "1024px" }
...defaultTheme.screens,

},
extend: {
Expand Down

0 comments on commit cfe4194

Please sign in to comment.