Skip to content

Commit 4392f2c

Browse files
authoredNov 21, 2023
feat: additional classes for improved CSS targeting
* Update ValidationErrorsOverview.svelte Added additional classes for improved CSS targeting. * changed class declorations to double quote
1 parent 1613f03 commit 4392f2c

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed
 

‎src/lib/components/controls/ValidationErrorsOverview.svelte

+5-5
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
{#if !isEmpty(validationErrors)}
3333
<div class="jse-validation-errors-overview">
3434
{#if expanded || count === 1}
35-
<table>
35+
<table class="jse-validation-errors-overview-expanded">
3636
<tbody>
3737
{#each limit(validationErrors, MAX_VALIDATION_ERRORS) as validationError, index}
3838
<tr
@@ -45,10 +45,10 @@
4545
<td class="jse-validation-error-icon">
4646
<Icon data={faExclamationTriangle} />
4747
</td>
48-
<td>
48+
<td class="jse-validation-error-path">
4949
{stringifyJSONPath(validationError.path)}
5050
</td>
51-
<td>
51+
<td class="jse-validation-error-message">
5252
{validationError.message}
5353
</td>
5454
<td class="jse-validation-error-action">
@@ -77,13 +77,13 @@
7777
</tbody>
7878
</table>
7979
{:else}
80-
<table>
80+
<table class="jse-validation-errors-overview-collapsed">
8181
<tbody>
8282
<tr class="jse-validation-error" on:click={expand}>
8383
<td class="jse-validation-error-icon">
8484
<Icon data={faExclamationTriangle} />
8585
</td>
86-
<td>
86+
<td class="jse-validation-error-count">
8787
{count} validation errors
8888
<div class="jse-validation-errors-expand">
8989
<Icon data={faAngleRight} />

0 commit comments

Comments
 (0)
Please sign in to comment.