Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
aelmanaa committed Dec 8, 2024
1 parent 1a6b8d5 commit b3bf9e2
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 37 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,20 +11,3 @@
.parametersIntro {
margin-bottom: var(--space-3x);
}

.parameterHelp {
margin-top: var(--space-4x);
padding-top: var(--space-3x);
border-top: 1px solid var(--color-border);
}

.helpItem {
display: flex;
gap: var(--space-2x);
margin-bottom: var(--space-2x);
}

.helpLabel {
font-weight: 600;
color: var(--color-text-primary);
}
15 changes: 0 additions & 15 deletions src/components/CCIP/TutorialBlockchainSelector/DeployTokenStep.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -68,21 +68,6 @@ export const DeployTokenStep = ({ chain }: DeployTokenStepProps) => {
example="0"
/>
</div>

<div className={styles.parameterHelp}>
<div className={styles.helpItem}>
<span className={styles.helpLabel}>Parameter Name:</span>
<span>The exact name you'll type in Remix</span>
</div>
<div className={styles.helpItem}>
<span className={styles.helpLabel}>Type:</span>
<span>The Solidity data type required</span>
</div>
<div className={styles.helpItem}>
<span className={styles.helpLabel}>Example:</span>
<span>Click to copy a valid value</span>
</div>
</div>
</TutorialStep>

<TutorialStep title="Deploy Contract">
Expand Down
8 changes: 3 additions & 5 deletions src/components/CCIP/TutorialSetup/SolidityParam.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -22,16 +22,13 @@
}

.name {
font-family: var(--font-mono);
background: var(--color-background);
font-size: var(--font-size-sm);
padding: var(--space-1x) var(--space-2x);
border-radius: 4px;
grid-area: name;
}

.type {
font-family: var(--font-mono);
color: var(--color-text-secondary);
font-size: var(--font-size-sm);
grid-area: type;

Expand All @@ -42,6 +39,7 @@
}

.info {
font-size: var(--font-size-sm);
grid-area: info;
display: flex;
flex-direction: column;
Expand All @@ -51,6 +49,7 @@
/* Parent container adjustments */
.parameters {
padding: var(--space-2x);
font-size: var(--font-size-sm);

@media (min-width: 768px) {
padding: var(--space-3x);
Expand All @@ -73,7 +72,6 @@

/* Ensure text remains readable */
.description {
color: var(--color-text);
line-height: var(--line-height-base);
font-size: var(--font-size-sm);

Expand Down

0 comments on commit b3bf9e2

Please sign in to comment.