Skip to content

Commit

Permalink
Merge pull request #561 from sonaliTekdi/UI_changes
Browse files Browse the repository at this point in the history
Bug #225930 - Inconsistent Button Positions on Poll Cards for Polls With and Without Keywords
  • Loading branch information
paritshivani authored Sep 2, 2024
2 parents 543689a + d41b7fe commit 78c0ba8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 16 deletions.
16 changes: 1 addition & 15 deletions packages/nulp_elite/src/pages/voting/votingDashboard.js
Original file line number Diff line number Diff line change
Expand Up @@ -460,7 +460,7 @@ const votingDashboard = () => {
)}
</Box>
</Box>
<Box className="fs-14">
<Box className={`fs-14 ${items?.poll_keywords && items.poll_keywords.length <= 0 ? 'visibility-hidden' : ''}`}>
{items?.poll_keywords && (
<>
{items.poll_keywords
Expand Down Expand Up @@ -499,20 +499,6 @@ const votingDashboard = () => {
)}
</Box>
</Box>
{/* <Box
className="card-img-container"
style={{ position: "inherit" }}
>
<img
src={
items.image
? items.image
: require("assets/default.png")
}
className="event-card-img"
alt="App Icon"
/>
</Box> */}
</Grid>
<Grid
item
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 @@ -3756,4 +3756,7 @@ input:required::after {
}
.cardBox1{
min-height:300px;
}
}
.visibility-hidden {
visibility: hidden;
}

0 comments on commit 78c0ba8

Please sign in to comment.