Skip to content

Commit

Permalink
Merge pull request #691 from sonaliTekdi/webapp_changes
Browse files Browse the repository at this point in the history
Resolved sticky footer issue
  • Loading branch information
paritshivani authored Oct 10, 2024
2 parents c05033f + 9b4d71e commit cc5989d
Show file tree
Hide file tree
Showing 13 changed files with 13 additions and 14 deletions.
2 changes: 1 addition & 1 deletion packages/nulp_elite/src/components/VotingDrawerFilter.js
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ const VotingDrawerFilter = ({ onFilterChange }) => {
</Box>
<FormControl>
<InputLabel htmlFor="outlined-adornment-search">
{t("SEARCH_FOR_A_POLL")}
{t("SEARCH_FOR_A_POLL")}
</InputLabel>
<OutlinedInput
id="outlined-adornment-search"
Expand Down
2 changes: 1 addition & 1 deletion packages/nulp_elite/src/pages/FAQPage.js
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ const FAQPage = () => {
return (
<div>
<Header />
<Box sx={{ height: 'calc(100vh - 210px)', overflowY:'auto' }}>
<Box>
{setLanguage && url && <Container maxWidth="xl" role="main" className="min-472 pb-30">
{error && (
<Alert severity="error" className="my-10">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1289,7 +1289,7 @@ const AddConnections = () => {
<Box>
<Header />
{toasterMessage && <ToasterCommon response={toasterMessage} />}
<Box sx={{ height: 'calc(100vh - 210px)', overflowY:'auto' }}>
<Box>
<Container maxWidth="xl" role="main" className="pt-0 xs-pb-62 pt-108">
{error && (
<Alert severity="error" className="my-10">
Expand Down
2 changes: 1 addition & 1 deletion packages/nulp_elite/src/pages/content/AllContent.js
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,7 @@ const AllContent = () => {
<Header />
{toasterMessage && <ToasterCommon response={toasterMessage} />}

<Box sx={{ height: 'calc(100vh - 210px)', overflowY:'auto' }}
<Box
>
{domain ? (
<DomainCarousel onSelectDomain={handleDomainFilter} domains={domain} />
Expand Down
2 changes: 1 addition & 1 deletion packages/nulp_elite/src/pages/content/CategoryPage.js
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ const CategoryPage = () => {
return (
<>
<Header />
<Box sx={{ height: 'calc(100vh - 210px)', overflowY:'auto' }}>
<Box>
{toasterMessage && <ToasterCommon response={toasterMessage} />}
{domain.length > 0 ? (
<DomainCarousel onSelectDomain={handleDomainFilter} domains={domain} selectedDomainCode={preselectedDomain}/>
Expand Down
3 changes: 1 addition & 2 deletions packages/nulp_elite/src/pages/content/joinCourse.js
Original file line number Diff line number Diff line change
Expand Up @@ -629,9 +629,8 @@ const JoinCourse = () => {
onClick={handleLeaveCourseClick} // Open confirmation dialog
className="custom-btn-danger xs-mt-10"
> {t("LEAVE_COURSE")}

</Button>
)}
}
</Box>
</div>

Expand Down
2 changes: 1 addition & 1 deletion packages/nulp_elite/src/pages/content/pdf.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ const PDFContent = () => {
return (
<div>
<Header />
<Box sx={{ height: 'calc(100vh - 210px)', overflowY:'auto' }}>
<Box>
<Container maxWidth="md" role="main" className="container-pb">
<Grid container spacing={2}>
<Grid item xs={8}>
Expand Down
2 changes: 1 addition & 1 deletion packages/nulp_elite/src/pages/events/dashboard.js
Original file line number Diff line number Diff line change
Expand Up @@ -552,7 +552,7 @@ const Dashboard = () => {
return (
<div>
<Header />
<Box sx={{ height: 'calc(100vh - 210px)', overflowY:'auto' }}>
<Box>
<Container
maxWidth="xl"
role="main"
Expand Down
2 changes: 1 addition & 1 deletion packages/nulp_elite/src/pages/events/eventList.js
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,7 @@ const EventList = (props) => {
<div>
<Header globalSearchQuery={globalSearchQuery} />
{toasterMessage && <ToasterCommon response={toasterMessage} />}
<Box sx={{ height: 'calc(100vh - 210px)', overflowY:'auto' }}>
<Box>
<Box>
{domainList && domainList.length > 0 ? (
<DomainCarousel
Expand Down
2 changes: 1 addition & 1 deletion packages/nulp_elite/src/pages/profile/certificate.js
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ const Certificate = () => {
<Box className="lg-hide">
<Header />
</Box>
<Box sx={{ height: 'calc(100vh - 210px)', overflowY:'auto' }}>
<Box>
{toasterMessage && <ToasterCommon response={toasterMessage} />}
<Container
maxWidth="xxl"
Expand Down
2 changes: 1 addition & 1 deletion packages/nulp_elite/src/pages/search/ContentList.js
Original file line number Diff line number Diff line change
Expand Up @@ -409,7 +409,7 @@ const ContentList = (props) => {
<div>
<Header globalSearchQuery={globalSearchQuery} />
{toasterMessage && <ToasterCommon response={toasterMessage} />}
<Box sx={{ height: 'calc(100vh - 210px)', overflowY:'auto' }}>
<Box>

<Box
className="lg-hide header-bg"
Expand Down
2 changes: 1 addition & 1 deletion packages/nulp_elite/src/pages/search/DomainList.js
Original file line number Diff line number Diff line change
Expand Up @@ -409,7 +409,7 @@ const DomainList = ({ globalSearchQuery }) => {
<div>
<Header />
{toasterMessage && <ToasterCommon response={toasterMessage} />}
<Box sx={{ height: 'calc(100vh - 210px)', overflowY: 'auto' }}>
<Box>

{/* Search Box */}
<Box
Expand Down
2 changes: 1 addition & 1 deletion packages/nulp_elite/src/pages/voting/pollsDetails.js
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ const pollsDetailes = () => {
return (
<div>
<Header />
<Box sx={{ height: 'calc(100vh - 210px)', overflowY:'auto' }}>
<Box>
<div>
{polls.length === 0 ? (
<p>{t("NO_POLL_AVAILABLE")}</p>
Expand Down

0 comments on commit cc5989d

Please sign in to comment.