Skip to content

Commit

Permalink
Bug #227347 - [webapp => chat with creator] All messages should be le…
Browse files Browse the repository at this point in the history
…ft alligned.

,Bug #227346 - [webapp =>chat with creator] showing horizontal scroll on chat with creator popup.
  • Loading branch information
sonaliTekdi committed Sep 24, 2024
1 parent 71d2da9 commit b370f94
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 75 deletions.
73 changes: 0 additions & 73 deletions packages/nulp_elite/src/components/header.js
Original file line number Diff line number Diff line change
Expand Up @@ -882,79 +882,6 @@ function Header({ globalSearchQuery }) {
</Link>
</List>
</Collapse>
<MenuItem
onClick={handleDashboardmenuToggle}
style={{ background: "#f9fafc", color: "#1976d2" }}
className="lg-hide"
>
{t("DASHBOARD")}
<Link primary="Submenu" />
{openDashboardmenu ? <ExpandLess /> : <ExpandMore />}
</MenuItem>
<Collapse
in={openDashboardmenu}
timeout="auto"
unmountOnExit
style={{ background: "#f9fafc" }}
className="lg-hide"
>
<List
component="div"
disablePadding
style={{ background: "#f9fafc" }}
>
{roleNames.some((role) =>
["SYSTEM_ADMINISTRATION", "CONTENT_CREATOR"].includes(
role
)
) && (
<Link
href={routeConfig.ROUTES.POLL.POLL_DASHBOARD}
underline="none"
textAlign="center"
>
<MenuItem className="ml-10">

{t("POLL")}

</MenuItem>
</Link>
)}
{roleNames.some((role) =>
["ORG_ADMIN", "SYSTEM_ADMINISTRATION", "CONTENT_CREATOR"].includes(
role
)
) && (
<Link
href={routeConfig.ROUTES.DASHBOARD_PAGE.DASHBOARD}
underline="none"
textAlign="center"
>
<MenuItem className="ml-10">

{t("EVENTS")}

</MenuItem>
</Link>
)}
<Link
href={routeConfig.ROUTES.LEARNING_REPORT}
underline="none"
textAlign="center"
>
<MenuItem className="ml-10"
onClick={() => {
sessionStorage.setItem("urlPath", "learningreport");
window.open(routeConfig.ROUTES.LEARNING_REPORT, "_blank");
}}>

{t("LEARNING_REPORT")}

</MenuItem>
</Link>

</List>
</Collapse>
{roleNames.some((role) =>
["ORG_ADMIN", "SYSTEM_ADMINISTRATION"].includes(
role
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 @@ -1993,7 +1993,7 @@ const JoinCourse = () => {
outline: "none",
borderRadius: 8,
width: "90%", // Relative width
maxWidth: "500px", // Maximum width
maxWidth: "700px", // Maximum width
height: "80%", // Relative height
maxHeight: "90vh", // Maximum height
overflowY: "auto", // Scroll if content overflows
Expand Down
5 changes: 4 additions & 1 deletion packages/nulp_elite/src/styles/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -1572,7 +1572,9 @@ button {
font-size: 15px !important;
max-width: 80% !important;
}

.jss6{
text-align: left !important;
}
.mr-13 {
margin-right: 13px !important;
}
Expand Down Expand Up @@ -3171,6 +3173,7 @@ custom-chip {

.contentCreator .jss5 {
position: inherit !important;
text-align: left !important;
}

.social-icons {
Expand Down

0 comments on commit b370f94

Please sign in to comment.