Skip to content

Commit aaa6722

Browse files
committed
Tweaked "read more" button icon
to appear next to the label, rather than below it.
1 parent b15cdf6 commit aaa6722

File tree

1 file changed

+10
-3
lines changed

1 file changed

+10
-3
lines changed

src/packages/sysinfo/components/new-version.element.ts

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { UmbSysinfoRepository } from '../repository/sysinfo.repository.js';
22
import type { UmbServerUpgradeCheck } from '../types.js';
3-
import { customElement, html, state, when } from '@umbraco-cms/backoffice/external/lit';
3+
import { css, customElement, html, state, when } from '@umbraco-cms/backoffice/external/lit';
44
import { UmbTextStyles } from '@umbraco-cms/backoffice/style';
55
import { UmbModalBaseElement } from '@umbraco-cms/backoffice/modal';
66

@@ -41,15 +41,22 @@ export class UmbNewVersionElement extends UmbModalBaseElement {
4141
color="positive"
4242
label=${this.localize.term('general_readMore')}>
4343
<umb-localize key="general_readMore">Read more</umb-localize>
44-
<umb-icon name="icon-out"></umb-icon>
44+
<umb-icon slot="extra" name="icon-out"></umb-icon>
4545
</uui-button>`
4646
: ''}
4747
</uui-dialog-layout>
4848
</uui-dialog>
4949
`;
5050
}
5151

52-
static override readonly styles = [UmbTextStyles];
52+
static override readonly styles = [
53+
UmbTextStyles,
54+
css`
55+
umb-icon {
56+
margin-left: var(--uui-size-2);
57+
}
58+
`,
59+
];
5360
}
5461

5562
export default UmbNewVersionElement;

0 commit comments

Comments
 (0)