1
0
mirror of https://github.com/lensapp/lens.git synced 2025-05-20 05:10:56 +00:00

Fine-tuning extensions page view (#1613)

* Replacing pro-tip text

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>

* Coloring extension name

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>

* Eslint fixes in webpack files

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
This commit is contained in:
Alex Andreev 2020-12-03 09:08:50 +03:00 committed by GitHub
parent 3c51e746bd
commit 6630419457
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 11 additions and 3 deletions

View File

@ -30,11 +30,19 @@
.actions > button:not(:last-child) { .actions > button:not(:last-child) {
margin-right: $spacing / 2; margin-right: $spacing / 2;
} }
.name {
color: var(--textColorSecondary);
padding-bottom: var(--padding);
font-weight: bold;
}
} }
} }
.SearchInput { .SearchInput {
--spacing: 10px; --spacing: 10px;
max-width: none;
} }
} }

View File

@ -451,10 +451,10 @@ export class Extensions extends React.Component {
<div key={id} className="extension flex gaps align-center"> <div key={id} className="extension flex gaps align-center">
<div className="box grow"> <div className="box grow">
<div className="name"> <div className="name">
Name: <code className="name">{name}</code> {name}
</div> </div>
<div className="description"> <div className="description">
Description: <span className="text-secondary">{description}</span> {description}
</div> </div>
</div> </div>
<div className="actions"> <div className="actions">
@ -529,7 +529,7 @@ export class Extensions extends React.Component {
onClick={this.installFromUrlOrPath} onClick={this.installFromUrlOrPath}
/> />
<small className="hint"> <small className="hint">
<Trans><b>Pro-Tip</b>: you can drag & drop extension&apos;s tarball-file to install</Trans> <Trans><b>Pro-Tip</b>: you can also drag-n-drop tarball-file to this area</Trans>
</small> </small>
</div> </div>