From 2e043bf10d2ed22f7dc15e8543ae48206c933cc8 Mon Sep 17 00:00:00 2001 From: Ashwini Date: Tue, 3 Dec 2024 11:15:30 +0100 Subject: [PATCH] fix: bootstrap styles (#2225) * fix inventory label badge color in collection * fix: align safety phrases with headers * handle invalid strings on fast sample create * fix overflowing labels * fix: enable disabled units in Reactions * fix: drag and drop bugs in reactionscheme * fix: fix bug when many labels exist in ElementsSampleEntries * fix: reduce size and space of wellplate header buttons --- .../apps/mydb/collections/CollectionSubtree.js | 2 +- .../details/NumeralInputWithUnitsCompo.js | 2 +- .../details/reactions/schemeTab/Material.js | 2 +- .../elements/details/samples/SampleDetails.js | 4 ++-- .../details/wellplates/WellplateDetails.js | 8 ++++---- .../elements/list/ElementsTableSampleEntries.js | 16 +++++++++------- app/packs/src/components/ChemicalTab.js | 6 +++--- 7 files changed, 21 insertions(+), 19 deletions(-) diff --git a/app/packs/src/apps/mydb/collections/CollectionSubtree.js b/app/packs/src/apps/mydb/collections/CollectionSubtree.js index 90588b3187..fa2e47f54b 100644 --- a/app/packs/src/apps/mydb/collections/CollectionSubtree.js +++ b/app/packs/src/apps/mydb/collections/CollectionSubtree.js @@ -157,7 +157,7 @@ export default class CollectionSubtree extends React.Component { placement="top" overlay={Inventory Label} > - {root.inventory_prefix} + {root.inventory_prefix} )} {this.canTakeOwnership() && ( diff --git a/app/packs/src/apps/mydb/elements/details/NumeralInputWithUnitsCompo.js b/app/packs/src/apps/mydb/elements/details/NumeralInputWithUnitsCompo.js index e1bc89da43..2ccadfa78b 100644 --- a/app/packs/src/apps/mydb/elements/details/NumeralInputWithUnitsCompo.js +++ b/app/packs/src/apps/mydb/elements/details/NumeralInputWithUnitsCompo.js @@ -175,7 +175,7 @@ export default class NumeralInputWithUnitsCompo extends Component { if (unit !== 'n') { const prefixSwitch = ( @@ -260,7 +260,7 @@ export default class WellplateDetails extends Component { Save Wellplate}>