From 8aa25c85ab3c909a28b2418789deec39712b661a Mon Sep 17 00:00:00 2001 From: Robert Baillie Date: Thu, 13 Jan 2022 10:26:04 +0000 Subject: [PATCH] Removed inline style from pagination controls Updated TODO --- TODO.txt | 19 +++++++++++-------- .../paginationControls/paginationControls.css | 3 +++ .../paginationControls.html | 3 +-- 3 files changed, 15 insertions(+), 10 deletions(-) create mode 100644 framework/default/ortoo-core/default/lwc/paginationControls/paginationControls.css diff --git a/TODO.txt b/TODO.txt index bfabbd1bbcc..a7f24746458 100644 --- a/TODO.txt +++ b/TODO.txt @@ -6,23 +6,26 @@ Licenses that are needed with the source code and binary: * Docs at the top level about the ortoo Id -Remove need for data-name - reference the id info - -Add library for getting LWC elements by their generated Ortoo Id - Add docs for the retrieval of elements - Look at the use of 'MockDatabase' in fflib Look at: SobjectUtils.getSobjectName + + +* Look at implementing ordering in the datatable example, so you can define the standards more clearly + * LWCs * Standards for: + * Filter and Results Page + * Apex format + * Inner Class for the search parameters + * Offset + * Order By - single column + * Order By Direction + * Edit Forms / Validation * Edit Forms with Child Records - * Review: - * Self Configured Combobox - not sure it's needed - * Try parent and datatable referencing a DML Service * Standards diff --git a/framework/default/ortoo-core/default/lwc/paginationControls/paginationControls.css b/framework/default/ortoo-core/default/lwc/paginationControls/paginationControls.css new file mode 100644 index 00000000000..a5c981473e9 --- /dev/null +++ b/framework/default/ortoo-core/default/lwc/paginationControls/paginationControls.css @@ -0,0 +1,3 @@ +.page-selector { + display: inline-block; +} \ No newline at end of file diff --git a/framework/default/ortoo-core/default/lwc/paginationControls/paginationControls.html b/framework/default/ortoo-core/default/lwc/paginationControls/paginationControls.html index 131518feab9..2765da11c89 100644 --- a/framework/default/ortoo-core/default/lwc/paginationControls/paginationControls.html +++ b/framework/default/ortoo-core/default/lwc/paginationControls/paginationControls.html @@ -12,8 +12,7 @@ label={labels.pageSize} variant="label-hidden" data-ortoo-elem-id={pageSizeId} - class="slds-p-left_x-small slds-p-right_x-small" - style="display: inline-block;max-width: 100px;" + class="slds-p-left_x-small slds-p-right_x-small page-selector" value={recordsPerPage} options={pageSizeOptions.data} onchange={handleChangePageSize}