Skip to content

Commit

Permalink
Adjust styles
Browse files Browse the repository at this point in the history
  • Loading branch information
mariia-aloshyna committed Feb 12, 2025
1 parent b55f079 commit ca74e9f
Showing 1 changed file with 13 additions and 11 deletions.
24 changes: 13 additions & 11 deletions src/Instance/InstanceDetails/InstanceDetails.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ import {
Row,
MessageBanner,
PaneCloseLink,
Paneset,
Layout,
} from '@folio/stripes/components';
import { VersionHistoryButton } from '@folio/stripes-acq-components';

Expand Down Expand Up @@ -206,16 +206,18 @@ const InstanceDetails = forwardRef(({

<AccordionStatus ref={ref}>
<Row>
<Col xs={10}>
{warningBanners.map(({ condition, messageId }) => (
<MessageBanner key={messageId} show={Boolean(condition)} type="warning">
<FormattedMessage id={messageId} />
</MessageBanner>
))}
</Col>
<Col data-test-expand-all xs={2}>
<ExpandAllButton onToggle={onToggle} />
</Col>
<Layout className="display-flex full flex-align-items-center justify-end">
<Col xs={10}>
{warningBanners.map(({ condition, messageId }) => (
<MessageBanner key={messageId} show={Boolean(condition)} type="warning">
<FormattedMessage id={messageId} />
</MessageBanner>
))}
</Col>
<Col data-test-expand-all xs={2}>
<ExpandAllButton onToggle={onToggle} />
</Col>
</Layout>
</Row>

<InstanceTitle
Expand Down

0 comments on commit ca74e9f

Please sign in to comment.