Skip to content

Commit

Permalink
Merge pull request #694 from sonaliTekdi/webapp_changes
Browse files Browse the repository at this point in the history
Bug #227994 - [webapp] Footer is misalligned on some of the pages. PFA
  • Loading branch information
paritshivani authored Oct 14, 2024
2 parents cc5989d + 987dcd2 commit 73d23f6
Show file tree
Hide file tree
Showing 3 changed files with 35 additions and 7 deletions.
12 changes: 11 additions & 1 deletion packages/nulp_elite/src/components/Footer.js
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,17 @@ export default function Footer() {
</Box>
</Box>
<Box
className="xs-hide footer"
className="xs-hide"
style={{
background: "#065872",
color: "#fff",
padding: "15px 15px 13px",
marginTop: "auto",
position: 'absolute',
bottom: '0px',
width:'100%',
boxSizing: 'border-box'
}}
>
<Grid container spacing={2}>
<Grid
Expand Down
2 changes: 1 addition & 1 deletion packages/nulp_elite/src/pages/content/joinCourse.js
Original file line number Diff line number Diff line change
Expand Up @@ -991,7 +991,7 @@ const JoinCourse = () => {
<div>
<Header />
{toasterMessage && <ToasterCommon response={toasterMessage} />}
<Box sx={{ height: "calc(100vh - 210px)", overflowY: "auto" }}>
<Box>
<Snackbar
open={showEnrollmentSnackbar}
autoHideDuration={6000}
Expand Down
28 changes: 23 additions & 5 deletions packages/nulp_elite/src/styles/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,19 @@
src: url("../fonts/Poppins-Bold.ttf");
src: url("../fonts/Poppins-Medium.ttf");
}

#root {
min-height: 100vh;
}
#root>div:first-child {
min-height: 100vh;
padding-bottom: 135px;
}
body {
font-family: "Poppins", sans-serif !important;
font-weight: 500;
font-style: normal;
background: #ffbc0154;
height: 100%;
margin: 0;
min-height: 100vh;
}

body,
Expand Down Expand Up @@ -3740,6 +3745,19 @@ input:required::after {
background-color: #fff;
padding: 30px;
border-radius: 4px;
border: 1px solid #15353f;
border: 4px solid #15353f;
margin: 10px;
}
animation: blink-border 1s infinite alternate;
}

@keyframes blink-border {
0% {
border-color: #15353f;
}
50% {
border-color: #0e7a9c;
}
100% {
border-color: #15353f;
}
}

0 comments on commit 73d23f6

Please sign in to comment.