Skip to content

Commit ee98e23

Browse files
committed
fix css issues
1 parent 365db92 commit ee98e23

File tree

4 files changed

+13
-21
lines changed

4 files changed

+13
-21
lines changed

src/pages/quick-start/commonSteps/registerApp.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import DashboardImage from '@site/static/img/web3auth-dashboard/project-details.
77
Visit the Web3Auth Dashboard and create a new project. Use the Client ID of the project to start your integration.
88

99
<a
10-
className="button button--primary"
10+
className="button"
1111
href="https://dashboard.web3auth.io"
1212
target="_blank"
1313
rel="noreferrer noopener">

src/pages/quick-start/index.tsx

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -48,19 +48,8 @@ const getURLFromBuilderOptions = (opts: Record<string, string>, stepIndex): stri
4848
};
4949

5050
export default function IntegrationBuilderPage(props: any) {
51-
// Debug what we're actually receiving
52-
console.log('=== DEBUG: Component props ===');
53-
console.log('Full props object:', props);
54-
console.log('Props keys:', Object.keys(props));
55-
console.log('props.files:', props.files);
56-
console.log('props.route:', props.route);
57-
console.log('props.route?.modules:', props.route?.modules);
58-
5951
// Try different ways to access files
6052
const files = props.files || (props.route?.modules?.files ? JSON.parse(props.route.modules.files) : {});
61-
console.log('Extracted files:', files);
62-
console.log('Files is object?', typeof files === 'object');
63-
console.log('Files keys:', Object.keys(files || {}));
6453

6554
const [builderOptions, setBuilderOptions] = useState<Record<string, string>>(
6655
getDefaultBuilderOptions(),

src/pages/quick-start/styles.module.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -390,7 +390,7 @@ input:checked+.slider:before {
390390
background: var(--ifm-color-primary-light);
391391
border: 1px solid var(--ifm-color-primary-light);
392392
box-shadow: 0px 1px 2px var(--ifm-color-primary-light);
393-
color: var(--ifm-color-white);
393+
color: var(--ifm-color-primary-darkest);
394394
padding: 8px 12px 7px 12px;
395395

396396
}
@@ -451,4 +451,4 @@ input:checked+.slider:before {
451451
.rightCol {
452452
width: 60%;
453453
}
454-
}
454+
}

src/theme/IntegrationBuilderCodeView/styles.module.css

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,10 @@
2121
}
2222

2323
.container :global ::-webkit-scrollbar {
24-
-ms-overflow-style: none; /* IE and Edge */
25-
scrollbar-width: none; /* Firefox */
24+
-ms-overflow-style: none;
25+
/* IE and Edge */
26+
scrollbar-width: none;
27+
/* Firefox */
2628
}
2729

2830
.container ::-webkit-scrollbar-thumb {
@@ -39,11 +41,11 @@
3941
overflow: scroll;
4042
}
4143

42-
.body > div {
44+
.body>div {
4345
margin-bottom: 0;
4446
}
4547

46-
.body :global .prism-code > div {
48+
.body :global .prism-code>div {
4749
min-height: 80vh;
4850
}
4951

@@ -52,7 +54,7 @@
5254
border-radius: 0;
5355
}
5456

55-
.container :global .prism-code > div {
57+
.container :global .prism-code>div {
5658
padding-top: 10px;
5759
}
5860

@@ -75,13 +77,14 @@
7577
font-weight: 500;
7678
padding: 4px 10px 3px 10px;
7779
margin: 6px;
80+
margin-bottom: 20px;
7881
border-radius: 9999px;
7982
border: none;
8083
user-select: none;
8184
transition: all var(--ifm-transition-fast) var(--ifm-transition-timing-default);
8285
}
8386

84-
.codeTabs :global .tabs__item > svg {
87+
.codeTabs :global .tabs__item>svg {
8588
margin-right: 4px;
8689
margin-bottom: 2px;
8790
}
@@ -97,4 +100,4 @@
97100
.codeTabs :global .tabs__item.tabs__item--active {
98101
color: var(--ifm-color-content);
99102
background: var(--ifm-color-emphasis-300);
100-
}
103+
}

0 commit comments

Comments
 (0)