Skip to content

Commit

Permalink
Update ValidationErrorsOverview.svelte
Browse files Browse the repository at this point in the history
Added additional classes for improved CSS targeting.
  • Loading branch information
hybridwebdev authored Nov 21, 2023
1 parent 1613f03 commit 1d229f5
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/lib/components/controls/ValidationErrorsOverview.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
{#if !isEmpty(validationErrors)}
<div class="jse-validation-errors-overview">
{#if expanded || count === 1}
<table>
<table class='jse-validation-errors-overview-expanded'>
<tbody>
{#each limit(validationErrors, MAX_VALIDATION_ERRORS) as validationError, index}
<tr
Expand All @@ -45,10 +45,10 @@
<td class="jse-validation-error-icon">
<Icon data={faExclamationTriangle} />
</td>
<td>
<td class='jse-validation-error-path'>
{stringifyJSONPath(validationError.path)}
</td>
<td>
<td class='jse-validation-error-message'>
{validationError.message}
</td>
<td class="jse-validation-error-action">
Expand Down Expand Up @@ -77,13 +77,13 @@
</tbody>
</table>
{:else}
<table>
<table class='jse-validation-errors-overview-collapsed'>
<tbody>
<tr class="jse-validation-error" on:click={expand}>
<td class="jse-validation-error-icon">
<Icon data={faExclamationTriangle} />
</td>
<td>
<td class='jse-validation-error-count'>
{count} validation errors
<div class="jse-validation-errors-expand">
<Icon data={faAngleRight} />
Expand Down

0 comments on commit 1d229f5

Please sign in to comment.