mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Styling Extensions tab
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
This commit is contained in:
parent
b769335dd2
commit
c8b70d4006
@ -195,18 +195,19 @@ export class Preferences extends React.Component {
|
|||||||
|
|
||||||
{this.activeTab == PreferencesTab.Extensions && (
|
{this.activeTab == PreferencesTab.Extensions && (
|
||||||
<section id="extensions">
|
<section id="extensions">
|
||||||
<section>
|
<h2>Extensions</h2>
|
||||||
<h1>Extensions</h1>
|
{appPreferenceRegistry.getItems().map(({ title, id, components: { Hint, Input } }) => {
|
||||||
</section>
|
|
||||||
{appPreferenceRegistry.getItems().map(({ title, id, components: { Hint, Input } }, index) => {
|
|
||||||
return (
|
return (
|
||||||
<section key={index} id={title}>
|
<>
|
||||||
<h2 id={id}>{title}</h2>
|
<section key={id} id={title} className="small">
|
||||||
<Input/>
|
<SubTitle title={title}/>
|
||||||
<small className="hint">
|
<Input/>
|
||||||
<Hint/>
|
<div className="hint">
|
||||||
</small>
|
<Hint/>
|
||||||
</section>
|
</div>
|
||||||
|
</section>
|
||||||
|
<hr className="small"/>
|
||||||
|
</>
|
||||||
);
|
);
|
||||||
})}
|
})}
|
||||||
</section>
|
</section>
|
||||||
|
|||||||
@ -46,7 +46,7 @@
|
|||||||
|
|
||||||
.sidebar {
|
.sidebar {
|
||||||
width: 218px;
|
width: 218px;
|
||||||
padding: 60px 6px 60px 20px;
|
padding: 60px 10px 60px 20px;
|
||||||
|
|
||||||
.Tabs {
|
.Tabs {
|
||||||
.header {
|
.header {
|
||||||
@ -207,6 +207,10 @@
|
|||||||
&.small {
|
&.small {
|
||||||
margin-top: 20px;
|
margin-top: 20px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
&:last-child {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user