diff --git a/themes/finc/scss/_customVariables.scss b/themes/finc/scss/_customVariables.scss index c33d0c1c57717ac91cf3d493d4708a6c37bf7b25..6bb4a396ee72344ab071736a1b44ec56e9d6ec24 100644 --- a/themes/finc/scss/_customVariables.scss +++ b/themes/finc/scss/_customVariables.scss @@ -1082,6 +1082,7 @@ $limit-label-text-align: left !default; $sort-select-max-width: 12em !default; $sort-select-max-width-below-410px: 9em !default; +$sort-select-text-align: right !default; $sort-inner-form-display: block !default; $limit-sort-inner-element-display: inline-block !default; diff --git a/themes/finc/scss/components/_search-control-elements.scss b/themes/finc/scss/components/_search-control-elements.scss index 17e0fe47d0fdde5ad7e3b0b81068ad88660824bd..46480dd0a1d0a278304569bed1ca63c2feb4854a 100644 --- a/themes/finc/scss/components/_search-control-elements.scss +++ b/themes/finc/scss/components/_search-control-elements.scss @@ -103,6 +103,7 @@ // inner sort by-form element .search-sort { display: $sort-inner-form-display; + text-align: $sort-select-text-align; } // 'limit-inner' and 'sort-inner' contain the select elements _and_ buttons for '.limit' and '.sort' diff --git a/themes/finc/templates/RecordDriver/DefaultRecord/result-list.phtml b/themes/finc/templates/RecordDriver/DefaultRecord/result-list.phtml index 58228af1830764e6a6e542e82121eac89dd4752c..bb774a1e01ad2ecdd5469ebd81a3e66cabc27122 100644 --- a/themes/finc/templates/RecordDriver/DefaultRecord/result-list.phtml +++ b/themes/finc/templates/RecordDriver/DefaultRecord/result-list.phtml @@ -240,10 +240,11 @@ if ($cover): <?php elseif ($block = $this->permission()->getAlternateContent('feature.Favorites')): ?> <?=$block?> <?php endif; ?> - <?php /* Saved lists */ ?> - <p class="savedLists" aria-live="polite"> + <?php /* Saved lists */ + /* finc uses div to accommodate lists inside '.savedLists' */ ?> + <div class="savedLists" aria-live="polite"> <strong><?=$this->transEsc("Saved in")?>:</strong> - </p> + </div> <?php endif; ?> <?php /* Hierarchy tree link; diff --git a/themes/finc/templates/RecordDriver/SolrAI/result-list.phtml b/themes/finc/templates/RecordDriver/SolrAI/result-list.phtml index df20380b382daa61c0944283f8bc0ec16c101ccb..c313dd51c3ee74561ba4d176119e7154f70c17de 100644 --- a/themes/finc/templates/RecordDriver/SolrAI/result-list.phtml +++ b/themes/finc/templates/RecordDriver/SolrAI/result-list.phtml @@ -223,10 +223,11 @@ if ($cover): <?php elseif ($block = $this->permission()->getAlternateContent('feature.Favorites')): ?> <?=$block?> <?php endif; ?> - <?php /* Saved lists */ ?> - <p class="savedLists" aria-live="polite"> + <?php /* Saved lists */ + /* finc uses div to accommodate lists inside '.savedLists' */ ?> + <div class="savedLists" aria-live="polite"> <strong><?=$this->transEsc("Saved in")?>:</strong> - </p> + </div> <?php /* endif; */ ?> <?php /* Hierarchy tree link; diff --git a/themes/finc/templates/search/controls/sort.phtml b/themes/finc/templates/search/controls/sort.phtml index 0ab1c6f4322900ca87330d737d78a6edb7f99a5d..a5cf00045c94534bc1c3957698c0f3028c1ec831 100644 --- a/themes/finc/templates/search/controls/sort.phtml +++ b/themes/finc/templates/search/controls/sort.phtml @@ -1,7 +1,7 @@ <!-- finc: search - controls - sort --> <?php $list = $this->params->getSortList(); if (!empty($list)): ?> - <?php /* finc: we use class 'text-right' */ ?> - <form class="search-sort text-right" action="<?=$this->currentPath()?>" method="get" name="sort"> + <?php /* finc: we do not use class '.text-right' but variable '$sort-select-text-align' */ ?> + <form class="search-sort" action="<?=$this->currentPath()?>" method="get" name="sort"> <?=$this->results->getUrlQuery()->asHiddenFields(['sort' => '/.*/']);?> <label for="sort_options_1"><?=$this->transEsc('Sort')?></label> <div class="sort-inner">