mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Style Extensions page
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
This commit is contained in:
parent
eb29b2d8ee
commit
5c8e443334
@ -19,21 +19,6 @@
|
|||||||
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
.PageLayout.Extensions {
|
|
||||||
$spacing: $padding * 2;
|
|
||||||
width: 100%;
|
|
||||||
|
|
||||||
.contentRegion {
|
|
||||||
.content {
|
|
||||||
max-width: 740px;
|
|
||||||
|
|
||||||
> section {
|
|
||||||
height: 100%;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.InstallingExtensionNotification {
|
.InstallingExtensionNotification {
|
||||||
.remove-folder-warning {
|
.remove-folder-warning {
|
||||||
font-size: $font-size-small;
|
font-size: $font-size-small;
|
||||||
|
|||||||
@ -512,9 +512,9 @@ export class Extensions extends React.Component<Props> {
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<DropFileInput onDropFiles={installOnDrop}>
|
<DropFileInput onDropFiles={installOnDrop}>
|
||||||
<SettingLayout className="Extensions">
|
<SettingLayout>
|
||||||
<section>
|
<section>
|
||||||
<h1>Extensions</h1>
|
<h2>Extensions</h2>
|
||||||
|
|
||||||
<Notice className="mb-14 mt-3">
|
<Notice className="mb-14 mt-3">
|
||||||
<p>
|
<p>
|
||||||
@ -532,7 +532,7 @@ export class Extensions extends React.Component<Props> {
|
|||||||
installPath={this.installPath}
|
installPath={this.installPath}
|
||||||
/>
|
/>
|
||||||
|
|
||||||
{extensions.length > 0 && <hr/>}
|
{extensions.length > 0 && <hr className="mb-12"/>}
|
||||||
|
|
||||||
<InstalledExtensions
|
<InstalledExtensions
|
||||||
extensions={extensions}
|
extensions={extensions}
|
||||||
|
|||||||
@ -55,7 +55,7 @@ export const Install = observer((props: Props) => {
|
|||||||
const { installPath, supportedFormats, onChange, installFromInput, installFromSelectFileDialog } = props;
|
const { installPath, supportedFormats, onChange, installFromInput, installFromSelectFileDialog } = props;
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<section className="mt-2">
|
<section className="mt-2 mb-12">
|
||||||
<SubTitle title={`Name or file path or URL to an extension package (${supportedFormats.join(", ")})`}/>
|
<SubTitle title={`Name or file path or URL to an extension package (${supportedFormats.join(", ")})`}/>
|
||||||
<div className="flex">
|
<div className="flex">
|
||||||
<div className="flex-1">
|
<div className="flex-1">
|
||||||
|
|||||||
@ -167,7 +167,7 @@ export const InstalledExtensions = observer(({ extensions, uninstall, enable, di
|
|||||||
return (
|
return (
|
||||||
<section data-testid="extensions-table">
|
<section data-testid="extensions-table">
|
||||||
<List
|
<List
|
||||||
title={<h2 className={styles.title}>Installed extensions</h2>}
|
title={<h2 className={styles.title}>Installed</h2>}
|
||||||
columns={columns}
|
columns={columns}
|
||||||
data={data}
|
data={data}
|
||||||
items={extensions}
|
items={extensions}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user