Skip to content

Commit d2e9fbb

Browse files
committed
chore: add css for mail button casing
1 parent ce0bf97 commit d2e9fbb

4 files changed

Lines changed: 26 additions & 16 deletions

File tree

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": "1.19.0-beta-3",
3+
"version": "1.19.0-beta-4",
44
"description": "Supporting common component library",
55
"type": "module",
66
"main": "dist/index.js",

src/Shared/Components/License/DevtronLicenseCard.tsx

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -71,14 +71,16 @@ const LicenseCardSubText = ({
7171
/>
7272
</div>
7373
{freemiumLimitReached && (
74-
<Button
75-
dataTestId="mail-support"
76-
startIcon={<Icon name="ic-email" color={null} />}
77-
text={ENTERPRISE_SUPPORT_LINK}
78-
variant={ButtonVariantType.text}
79-
component={ButtonComponentType.anchor}
80-
anchorProps={{ href: `mailto:${ENTERPRISE_SUPPORT_LINK}` }}
81-
/>
74+
<div className="mail-support">
75+
<Button
76+
dataTestId="mail-support"
77+
startIcon={<Icon name="ic-email" color={null} />}
78+
text={ENTERPRISE_SUPPORT_LINK}
79+
variant={ButtonVariantType.text}
80+
component={ButtonComponentType.anchor}
81+
anchorProps={{ href: `mailto:${ENTERPRISE_SUPPORT_LINK}` }}
82+
/>
83+
</div>
8284
)}
8385
<Button
8486
dataTestId="contact-support"
@@ -158,7 +160,7 @@ export const DevtronLicenseCard = ({
158160
: useMotionTemplate`linear-gradient(55deg, transparent, rgba(255, 255, 255, ${sheenOpacity}) ${sheenPosition}%, transparent)`
159161

160162
return (
161-
<div className="flexbox-col p-8 br-16" style={{ backgroundColor: bgColor }}>
163+
<div className="license-card-wrapper flexbox-col p-8 br-16" style={{ backgroundColor: bgColor }}>
162164
<div style={{ perspective: '1000px' }}>
163165
<motion.div
164166
className={`license-card shadow__overlay border__secondary flexbox-col br-12 h-200 dc__overflow-hidden bg__tertiary ${getThemeOppositeThemeClass(appTheme)}`}

src/Shared/Components/License/licenseCard.scss

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,18 @@
1414
* limitations under the License.
1515
*/
1616

17-
.license-card {
17+
.license-card-wrapper {
18+
.license-card {
19+
.trial-license-badge {
20+
background-color: var(--divider-secondary-translucent);
21+
letter-spacing: 0.55px;
22+
}
23+
}
1824

19-
.trial-license-badge {
20-
background-color: var(--divider-secondary-translucent);
21-
letter-spacing: 0.55px;
25+
.mail-support {
26+
.button {
27+
text-transform: lowercase;
28+
}
2229
}
2330
}
31+

0 commit comments

Comments
 (0)