Skip to content

Commit 98ea8a9

Browse files
authored
Merge pull request #305 from permaweb/impr/featured-token
impr: featured token wrapper / docs update
2 parents c5dc83a + ea5cc3e commit 98ea8a9

8 files changed

Lines changed: 225 additions & 296 deletions

File tree

src/navigation/Header/styles.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ export const Wrapper = styled.header`
77
height: ${STYLING.dimensions.nav.height};
88
width: 100%;
99
position: sticky;
10-
z-index: 2;
10+
z-index: 3;
1111
top: 0;
1212
background: ${(props) => props.theme.colors.view.background};
1313
`;

src/views/Asset/AssetAction/AssetActionMarket/AssetActionMarketOrders/AssetActionMarketOrders.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ export default function AssetActionMarketOrders(props: IProps) {
125125
// Track hydration progress for each token (tokenId -> percentage)
126126
const [hydrationProgress, setHydrationProgress] = React.useState<{ [key: string]: number }>({});
127127

128-
const CURRENT_AO_NODE = 'https://state.forward.computer';
128+
const CURRENT_AO_NODE = 'https://state-a.forward.computer';
129129
const CURRENT_TOKEN_NODE = 'https://state-1.forward.computer';
130130
const SU_URL = 'https://su-router.ao-testnet.xyz';
131131

src/views/Asset/AssetAction/AssetActionMarket/AssetActionMarketOrders/styles.ts

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,14 @@ export const LearnMoreWrapper = styled.div`
1616
a {
1717
display: flex;
1818
align-items: center;
19-
gap: 8px;
19+
gap: 7.5px;
2020
text-decoration: none;
21-
opacity: 0.6;
2221
transition: opacity 0.2s ease;
23-
font-size: ${(props) => props.theme.typography.size.small};
24-
color: ${(props) => props.theme.colors.font.alt1};
22+
23+
span {
24+
font-size: ${(props) => props.theme.typography.size.small};
25+
color: ${(props) => props.theme.colors.font.primary};
26+
}
2527
2628
&:hover {
2729
opacity: 1;
@@ -30,12 +32,9 @@ export const LearnMoreWrapper = styled.div`
3032
svg {
3133
width: 14px;
3234
height: 14px;
33-
fill: ${(props) => props.theme.colors.font.alt1};
34-
}
35-
36-
span {
37-
font-size: ${(props) => props.theme.typography.size.small};
38-
color: ${(props) => props.theme.colors.font.alt1};
35+
margin: 6.5px 0 0 0;
36+
color: ${(props) => props.theme.colors.font.primary};
37+
fill: ${(props) => props.theme.colors.font.primary};
3938
}
4039
}
4140
`;

src/views/Docs/DocsDetail/DocTemplate/styles.ts

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ export const Wrapper = styled.div<{ isView: boolean }>`
88
padding: ${(props) => (props.isView ? '0 40px 0 30px' : '0')};
99
animation: ${open} ${fadeIn2};
1010
margin: 0 0 0 auto;
11+
display: flex;
12+
flex-direction: column;
13+
gap: 25px;
1114
1215
@media (max-width: ${STYLING.cutoffs.initial}) {
1316
width: 100%;
@@ -25,15 +28,13 @@ export const Wrapper = styled.div<{ isView: boolean }>`
2528
font-weight: ${(props) => props.theme.typography.weight.bold} !important;
2629
font-family: ${(props) => props.theme.typography.family.alt1} !important;
2730
color: ${(props) => props.theme.colors.font.primary} !important;
28-
margin: 0 0 5px 0;
2931
padding: 0 0 2.5px 0;
3032
}
3133
3234
h3,
3335
h4,
3436
h5,
3537
h6 {
36-
margin: 50px 0 10px 0;
3738
}
3839
3940
h2 {
@@ -45,17 +46,19 @@ export const Wrapper = styled.div<{ isView: boolean }>`
4546
}
4647
}
4748
48-
h3,
49+
h3 {
50+
font-size: clamp(18px, 2.5vw, 28px) !important;
51+
}
52+
4953
h4,
5054
h5 {
51-
font-size: clamp(18px, 2.5vw, 28px) !important;
55+
font-size: clamp(16px, 2vw, 24px) !important;
5256
}
5357
5458
h6 {
5559
font-size: clamp(16px, 1.95vw, 22px) !important;
5660
color: ${(props) => props.theme.colors.font.alt1} !important;
5761
border-bottom: 1px solid transparent;
58-
margin: 35px 0 0 0;
5962
6063
a {
6164
font-size: clamp(16px, 1.95vw, 22px) !important;
@@ -82,6 +85,7 @@ export const Wrapper = styled.div<{ isView: boolean }>`
8285
font-family: ${(props) => props.theme.typography.family.primary} !important;
8386
color: ${(props) => props.theme.colors.font.alt1} !important;
8487
line-height: 1.65 !important;
88+
margin: -12.5px 0 0 0;
8589
}
8690
8791
a {
@@ -94,7 +98,7 @@ export const Wrapper = styled.div<{ isView: boolean }>`
9498
display: flex;
9599
flex-direction: column;
96100
gap: 7.5px;
97-
margin: 7.5px 0 0 0;
101+
margin: -12.5px 0 0 0;
98102
99103
li {
100104
list-style-type: none;
@@ -166,7 +170,6 @@ export const Wrapper = styled.div<{ isView: boolean }>`
166170
background: ${(props) => props.theme.colors.container.primary.background};
167171
border: 1px solid ${(props) => props.theme.colors.border.primary};
168172
border-radius: ${STYLING.dimensions.radius.primary};
169-
margin: 30px 0 0 0;
170173
}
171174
`;
172175

0 commit comments

Comments
 (0)