mirror of
https://github.com/kingomarnajjar/flex-template-web.git
synced 2026-07-26 06:47:17 +10:00
Highlight active tab link
This commit is contained in:
parent
78cfe3d75f
commit
b9e31dddb0
2 changed files with 6 additions and 2 deletions
|
|
@ -5,3 +5,7 @@
|
|||
.tabContentVisible {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.activeTab {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -37,10 +37,10 @@ const OrderPage = props => {
|
|||
|
||||
return (
|
||||
<PageLayout title={`Your ${title} booking is confirmed!`}>
|
||||
<NamedLink name="OrderDetailsPage" params={{ id: orderId }} style={{ marginRight: '2rem' }}>
|
||||
<NamedLink name="OrderDetailsPage" params={{ id: orderId }} activeClassName={css.activeTab} style={{ marginRight: '2rem' }}>
|
||||
Booking details
|
||||
</NamedLink>
|
||||
<NamedLink name="OrderDiscussionPage" params={{ id: orderId }}>
|
||||
<NamedLink name="OrderDiscussionPage" activeClassName={css.activeTab} params={{ id: orderId }}>
|
||||
Discussion
|
||||
</NamedLink>
|
||||
<OrderDetailsPanel className={detailsClassName} {...detailsProps} />
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue