Skip to content

Commit

Permalink
Update default ViewMode button icon
Browse files Browse the repository at this point in the history
  • Loading branch information
pascalwengerter committed Dec 8, 2022
1 parent bb2e736 commit 9efc6fd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
:appearance="viewModeCurrent === ViewModeConstants.default ? 'filled' : 'outline'"
@click="setViewMode(ViewModeConstants.default)"
>
<oc-icon name="align-justify" fill-type="none" size="small" />
<oc-icon name="menu-line" fill-type="none" size="small" />
</oc-button>
</div>
<oc-button
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ exports[`ViewOptions initially shows normal resource-table by default 1`] = `
<oc-icon-stub name="menu-line-condensed" fill-type="none" size="small"></oc-icon-stub>
</oc-button-stub>
<oc-button-stub appearance="filled">
<oc-icon-stub name="align-justify" fill-type="none" size="small"></oc-icon-stub>
<oc-icon-stub name="menu-line" fill-type="none" size="small"></oc-icon-stub>
</oc-button-stub>
</div>
`;
Expand All @@ -15,14 +15,14 @@ exports[`ViewOptions toggles between normal and condensed resource-table upon cl
<div data-testid="viewmode-switch-buttons" class="oc-button-group oc-visible@s oc-mr-s"><button type="button" class="oc-button oc-rounded oc-button-m oc-button-justify-content-center oc-button-gap-m oc-button-passive oc-button-passive-filled">
<oc-icon-stub name="menu-line-condensed" filltype="none" accessiblelabel="" type="span" size="small" variation="passive" color=""></oc-icon-stub>
</button> <button type="button" class="oc-button oc-rounded oc-button-m oc-button-justify-content-center oc-button-gap-m oc-button-passive oc-button-passive-outline">
<oc-icon-stub name="align-justify" filltype="none" accessiblelabel="" type="span" size="small" variation="passive" color=""></oc-icon-stub>
<oc-icon-stub name="menu-line" filltype="none" accessiblelabel="" type="span" size="small" variation="passive" color=""></oc-icon-stub>
</button></div>
`;

exports[`ViewOptions toggles between normal and condensed resource-table upon clicking the respective buttons 2`] = `
<div data-testid="viewmode-switch-buttons" class="oc-button-group oc-visible@s oc-mr-s"><button type="button" class="oc-button oc-rounded oc-button-m oc-button-justify-content-center oc-button-gap-m oc-button-passive oc-button-passive-outline">
<oc-icon-stub name="menu-line-condensed" filltype="none" accessiblelabel="" type="span" size="small" variation="passive" color=""></oc-icon-stub>
</button> <button type="button" class="oc-button oc-rounded oc-button-m oc-button-justify-content-center oc-button-gap-m oc-button-passive oc-button-passive-filled">
<oc-icon-stub name="align-justify" filltype="none" accessiblelabel="" type="span" size="small" variation="passive" color=""></oc-icon-stub>
<oc-icon-stub name="menu-line" filltype="none" accessiblelabel="" type="span" size="small" variation="passive" color=""></oc-icon-stub>
</button></div>
`;

0 comments on commit 9efc6fd

Please sign in to comment.