Skip to content

Commit

Permalink
Merge pull request #1089 from Esri/accordion-style
Browse files Browse the repository at this point in the history
update for item details page use
  • Loading branch information
jmhauck authored Jan 9, 2025
2 parents a05f33d + 3654ffc commit 0c5fa21
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 4 deletions.
16 changes: 14 additions & 2 deletions src/components/solution-item-accordion/solution-item-accordion.css
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,17 @@
}

.font-size-override {
--calcite-font-size--2: var(--calcite-font-size--1);;
}
--calcite-font-size--2: var(--calcite-font-size--1);
}

.border-override {
--calcite-accordion-border-color: var(--calcite-color-border-1) !important;
}

.display-flex {
display: flex;
}

.align-center {
align-items: center;
}
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,10 @@ export class SolutionItemAccordion {
}, []);

return (
<calcite-accordion selectionMode="single">
<calcite-accordion
class="border-override"
selectionMode="single"
>
{
accordion
}
Expand Down Expand Up @@ -223,7 +226,7 @@ export class SolutionItemAccordion {
return (
<calcite-accordion-item description={`${_type} (${templateInfos.length})`}>
<solution-item-icon
class="padding-start-1"
class="padding-start-1 display-flex align-center"
slot="actions-start"
type={templateInfo.type}
typeKeywords={templateInfo.typeKeywords}
Expand Down

0 comments on commit 0c5fa21

Please sign in to comment.