Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

updated tab ui as per previous console #761

Merged
merged 2 commits into from
Jun 28, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion packages/apollo/src/components/CADetails/CADetails.js
Original file line number Diff line number Diff line change
Expand Up @@ -614,7 +614,7 @@ export class CADetails extends Component {
</div>
<div className="ibp-column width-75 p-lr-10">
<Tabs className="ibp-tabs-container" aria-label="sub-navigation">
<TabList contained>
<TabList>
<Tab id="ibp-ca-detail-tab-root-ca">{translate('details')}</Tab>
{this.props.details && (
<Tab
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1253,7 +1253,7 @@ class ChannelDetails extends Component {
<div className="ibm-column width-75 p-lr-10">
<div className="ibp__channel--container">
<Tabs aria-label="Tabs">
<TabList contained>
<TabList>
<Tab id="ibp-channel-detail-chaincode">
{translate('chaincode_management')}
</Tab>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1671,7 +1671,7 @@ class OrdererDetails extends Component {
this.props.updateState(SCOPE, { selectedTab });
}}
>
<TabList contained>{tabItems.map((item, index) => item.tab(index))}</TabList>
<TabList>{tabItems.map((item, index) => item.tab(index))}</TabList>

<TabPanels>{tabItems.map((item, index) => item.panel(index))}</TabPanels>
</Tabs>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -570,7 +570,7 @@ class PeerDetails extends Component {
)}
{details && (
<Tabs aria-label="sub-navigation">
<TabList contained>
<TabList>
<Tab id="ibp-peer-details">{translate('details')}</Tab>
<Tab
id="ibp-peer-usage"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,11 @@
padding: 1rem 1rem 1.75rem 1rem;
}

.cds--actionable-notification--error {
margin: 0;
padding: 1rem 1rem 1.75rem 1rem;
}

.cds--inline-notification--error {
border: 0;
border-top: 0.25rem solid $field-error;
Expand Down
6 changes: 5 additions & 1 deletion packages/apollo/src/index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,11 @@ small {
}

.cds--tabs {
border-bottom: 1px solid $cool-gray-70;
// border-bottom: 1px solid $cool-gray-70;

.cds--tab--overflow-nav-button {
display: none;
}

.cds--tabs__nav {
.cds--tabs__nav-item.cds--tabs__nav-item--selected {
Expand Down
Loading