mirror of
https://github.com/arduino/arduino-ide.git
synced 2025-11-09 18:38:33 +00:00
Update buttons style (#1122)
* Buttons updated to reflect the design system.
This commit is contained in:
@@ -72,7 +72,10 @@ export class ListItemRenderer<T extends ArduinoComponent> {
|
||||
);
|
||||
const onClickInstall = () => install(item);
|
||||
const installButton = item.installable && (
|
||||
<button className="theia-button install" onClick={onClickInstall}>
|
||||
<button
|
||||
className="theia-button secondary install"
|
||||
onClick={onClickInstall}
|
||||
>
|
||||
{nls.localize('arduino/component/install', 'INSTALL')}
|
||||
</button>
|
||||
);
|
||||
@@ -121,8 +124,8 @@ export class ListItemRenderer<T extends ArduinoComponent> {
|
||||
</div>
|
||||
<div className="info">{moreInfo}</div>
|
||||
<div className="footer">
|
||||
{installButton}
|
||||
{versions}
|
||||
{installButton}
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user