Skip to content
Snippets Groups Projects
Commit 2003db12 authored by OZGCloud's avatar OZGCloud
Browse files

OZG-6129 Change close icon

parent 03c0feb2
Branches
Tags
No related merge requests found
Showing with 8 additions and 9 deletions
......@@ -94,7 +94,7 @@
value="abgelehnt"
variant="bescheid_abgelehnt"
>
<ods-close-icon class="fill-abgelehnt" />
<ods-close-icon class="fill-abgelehnt" size="large" />
</ods-radio-button-card>
</div>
</form>
......
......@@ -9,7 +9,6 @@
<ods-close-icon
*ngIf="!bescheid.bewilligt"
data-test-id="abgelehnt-icon"
size="small"
class="fill-abgelehnt"
/>
......
......@@ -13,7 +13,7 @@ import { StampIconComponent } from '../icons/stamp-icon/stamp-icon.component';
><ods-stamp-icon size="medium" class="fill-bewilligt" />Bewilligt am {{ dateText }}</span
>
<span class="flex items-center gap-2" *ngIf="!bewilligt"
><ods-close-icon size="medium" class="fill-abgelehnt" />Abgelehnt am
><ods-close-icon class="fill-abgelehnt" />Abgelehnt am
{{ dateText }}
</span>
<span
......
......@@ -53,7 +53,7 @@ export const Default: Story = {
value="abgelehnt"
variant="bescheid_abgelehnt"
>
<ods-close-icon class="fill-abgelehnt" />
<ods-close-icon class="fill-abgelehnt" size="large" />
</ods-radio-button-card>
</div>`,
}),
......
......@@ -12,16 +12,16 @@ import { IconVariants, iconVariants } from '../iconVariants';
xmlns="http://www.w3.org/2000/svg"
[ngClass]="[twMerge(iconVariants({ size }), 'fill-black', class)]"
aria-hidden="true"
viewBox="0 0 14 14"
viewBox="0 0 24 24"
fill="inherit"
>
<path
d="M14 1.41L12.59 0L7 5.59L1.41 0L0 1.41L5.59 7L0 12.59L1.41 14L7 8.41L12.59 14L14 12.59L8.41 7L14 1.41Z"
d="M19 6.41L17.59 5L12 10.59L6.41 5L5 6.41L10.59 12L5 17.59L6.41 19L12 13.41L17.59 19L19 17.59L13.41 12L19 6.41Z"
/>
</svg>`,
})
export class CloseIconComponent {
@Input() size: IconVariants['size'] = 'small';
@Input() size: IconVariants['size'] = 'medium';
@Input() class: string = undefined;
iconVariants = iconVariants;
......
......@@ -20,7 +20,7 @@ export const Default: Story = {
options: ['small', 'medium', 'large', 'extra-large', 'full'],
description: 'Size of icon. Property "full" means 100%',
table: {
defaultValue: { summary: 'small' },
defaultValue: { summary: 'medium' },
},
},
},
......
......@@ -14,7 +14,7 @@
value="false"
data-test-id="button-abgelehnt"
variant="bescheid_abgelehnt"
><ods-close-icon size="medium" class="fill-abgelehnt"></ods-close-icon>
><ods-close-icon size="large" class="fill-abgelehnt"></ods-close-icon>
</ods-radio-button-card>
</div>
<div class="flex w-full">
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment