Skip to content

Commit 8fc61ba

Browse files
authored
textOverflow ellipsis
Signed-off-by: Naman Verma <149177973+Namanv0509@users.noreply.github.com>
1 parent 75dd3aa commit 8fc61ba

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

  • src/components/Pricing/PricingAddons

src/components/Pricing/PricingAddons/index.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -252,10 +252,10 @@ export const PricingAddons = ({ isYearly = false, setIsYearly }) => {
252252
<Box sx={{ display: "flex", alignItems: "center", gap: 2, py: 1 }}>
253253
{addon.icon}
254254
<Box>
255-
<Typography variant="body1" fontWeight="500" sx={{ wordBreak: "break-word", whiteSpace: "normal", fontFamily: "\"Qanelas Soft\", \"Open Sans\", sans-serif" }}>
255+
<Typography variant="body1" fontWeight="500" sx={{ textOverflow: "ellipsis",whiteSpace: "normal", fontFamily: "\"Qanelas Soft\", \"Open Sans\", sans-serif" }}>
256256
{addon.name}
257257
</Typography>
258-
<Typography variant="body2" color="text.secondary" sx={{ wordBreak: "break-word", whiteSpace: "normal", fontStyle: "italic", fontFamily: "\"Qanelas Soft\", \"Open Sans\", sans-serif" }}>
258+
<Typography variant="body2" color="text.secondary" sx={{ textOverflow: "ellipsis", whiteSpace: "normal", fontStyle: "italic", fontFamily: "\"Qanelas Soft\", \"Open Sans\", sans-serif" }}>
259259
{addon.id === "academy"
260260
? addon.description
261261
: (() => {
@@ -615,4 +615,4 @@ export const PricingAddons = ({ isYearly = false, setIsYearly }) => {
615615
</CssBaseline>
616616
</SistentThemeProvider>
617617
);
618-
};
618+
};

0 commit comments

Comments
 (0)