Skip to content

Commit 23a4eb7

Browse files
committed
frontend: update actionable-item styling
Actionable item component should set correct color even if it is internally a button and allow for text only children.
1 parent e01a2ef commit 23a4eb7

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

frontends/web/src/components/actionable-item/actionable-item.module.css

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
align-items: center;
44
background-color: var(--background-secondary);
55
border: none;
6+
color: var(--color-default);
67
display: flex;
78
font-size: var(--size-default);
89
justify-content: space-between;
@@ -16,9 +17,10 @@
1617
cursor: pointer;
1718
}
1819

19-
.leftContent {
20+
.content {
2021
align-items: center;
2122
display: flex;
23+
justify-content: space-between;
2224
width: 100%;
2325
}
2426

frontends/web/src/components/actionable-item/actionable-item.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ export const ActionableItem = ({
3434
const notButton = disabled || onClick === undefined;
3535

3636
const content = (
37-
<div className={styles.leftContent}>
37+
<div className={styles.content}>
3838
{children}
3939
<ChevronRightDark />
4040
</div>

frontends/web/src/routes/exchange/components/exchange-provider.module.css

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,6 @@
119119
}
120120

121121
.text {
122-
color: var(--color-default);
123122
margin: 0;
124123
}
125124

0 commit comments

Comments
 (0)