fix minor css issue in instrument list

This commit is contained in:
Nuwan 2024-10-29 09:22:55 +05:30
parent b51207dd3e
commit c8a8ecc40d
2 changed files with 2 additions and 2 deletions

View File

@ -146,7 +146,7 @@ describe('Friends page with data', () => {
closeSidePanel();
});
it('click more button', () => {
it.only('click more button', () => {
//open side panel by clicking more button
cy.get('[data-testid=peopleListTable] > tbody tr')
.first()

View File

@ -24,7 +24,7 @@ const JKPersonInstrumentsList = ({ instruments, showIcons, showAll, toggleMoreDe
<div data-testid="instrumentList" className='d-flex flex-column'>
{instrumentsToShow &&
instrumentsToShow.map(instrument => (
<div key={instrument.instrument_id} className="mb-1 d-flex" data-testid="instrument">
<div key={instrument.instrument_id} className="mb-1 d-flex text-nowrap" data-testid="instrument">
<div className="mr-1" style={{ flexGrow: 1, flexBasis: '10%'}}>
<JKInstrumentIcon instrumentId={instrument.instrument_id} instrumentName={instrument.description} />
</div>