Skip to content

Commit 8addbd2

Browse files
committed
css added & version bump
1 parent ae95416 commit 8addbd2

File tree

4 files changed

+14
-12
lines changed

4 files changed

+14
-12
lines changed

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@devtron-labs/devtron-fe-common-lib",
3-
"version": "0.0.82",
3+
"version": "0.0.82-beta-9",
44
"description": "Supporting common component library",
55
"type": "module",
66
"main": "dist/index.js",

src/Shared/Components/FeatureDescription/FeatureDescriptionModal.tsx

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,16 @@ export const FeatureDescriptionModal = ({
1414
imageVariant,
1515
}: FeatureDescriptionModalProps) => {
1616
const renderDescriptionBody = () => (
17-
<div className="pl-20 pr-20 pt-16">
17+
<div className="pl-20 pr-20 pt-16 pb-16 dc__gap-16">
1818
<div className="flex left w-100 fs-16 fw-6">{title}</div>
19-
<img
20-
src={image}
21-
className={`${imageVariant === IMAGE_VARIANT.SMALL ? 'small' : 'large'} mt-16 mb-12`}
22-
alt="feature-description"
23-
/>
24-
{typeof renderDescriptionContent === 'function' && renderDescriptionContent()}
19+
<div className={`${imageVariant === IMAGE_VARIANT.SMALL ? 'mxh-350' : 'mxh-450'}`}>
20+
<img
21+
src={image}
22+
className={`${imageVariant === IMAGE_VARIANT.SMALL ? 'small' : 'large'} mt-16 mb-12`}
23+
alt="feature-description"
24+
/>
25+
{typeof renderDescriptionContent === 'function' && renderDescriptionContent()}
26+
</div>
2527
</div>
2628
)
2729

@@ -48,7 +50,7 @@ export const FeatureDescriptionModal = ({
4850

4951
return (
5052
<VisibleModal className="">
51-
<div className="feature-description modal__body w-600 mt-40 flex column dc__gap-16 p-0 fs-13">
53+
<div className="feature-description modal__body w-600 mt-40 flex column p-0 fs-13 dc__overflow-hidden">
5254
{renderDescriptionBody()}
5355
{renderFooter()}
5456
</div>
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
.feature-description{
22
.large {
33
width: 560px;
4-
max-height: 450px;
4+
height: 250px;
55
}
66
}

0 commit comments

Comments
 (0)