Skip to content

Commit

Permalink
fixed list of book display
Browse files Browse the repository at this point in the history
  • Loading branch information
danielc-n committed Sep 25, 2024
1 parent 4279920 commit c67ba5d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import React from 'react';
export const BookList = ({ books }) => (
<div
style={{
paddingBottom: '12px', borderRadius: 999, display: 'inline-flex', flexDirection: 'row', justifyContent: 'center', alignItems: 'center', gap: 8,
paddingBottom: '12px', borderRadius: 999, display: 'inline-flex', flexDirection: 'row', justifyContent: 'left', alignItems: 'center', gap: 8, flexWrap: 'wrap',
}}
>
{books.map((book, index) => (
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ import { XMarkIcon } from '@heroicons/react/24/outline';
import { useTranslation } from 'react-i18next';
import Layout from '../../../../../../public/icons/basil/Solid/Interface/Layout.svg';
import { TextOnlyTooltip, LoopSwitch } from '../fieldPicker/customMuiComponent';
import { BookList } from '../BookList';

export function JXLHeaderWrapper({
keyWrapper,
Expand Down Expand Up @@ -219,6 +220,8 @@ export function JXLHeaderWrapper({
{t('label-custom')}
</div>
</div>
<BookList books={selectedBooks ?? []} />
<br />

<Modal
open={openModalBook}
Expand Down

0 comments on commit c67ba5d

Please sign in to comment.