Skip to content

Commit

Permalink
[web] Visual adjustments
Browse files Browse the repository at this point in the history
  • Loading branch information
dgdavid committed Mar 13, 2023
1 parent 530ddca commit a7cd3e0
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
4 changes: 4 additions & 0 deletions web/src/assets/styles/blocks.scss
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,10 @@ section > .content {
border-top: 1px solid var(--color-gray);
}

.sidebar > div {
margin-inline-start: var(--pf-global--spacer--md);
}

.sidebar a, .sidebar button {
font-size: 16px;
font-weight: var(--fw-bold);
Expand Down
7 changes: 4 additions & 3 deletions web/src/components/core/Sidebar.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,8 @@ import { TargetIpsPopup } from "~/components/network";
* https://www.developerway.com/posts/react-elements-children-parents
*/
const FixedLinks = React.memo(() => (
<>
<div className="flex-stack">
<h3>Other options</h3>
<ChangeProductLink />
<Disclosure label="Diagnosis tools" data-keep-sidebar-open>
<ShowLogButton />
Expand All @@ -61,7 +62,7 @@ const FixedLinks = React.memo(() => (
</Disclosure>
<TargetIpsPopup />
<About />
</>
</div>
), () => true);

/**
Expand Down Expand Up @@ -115,7 +116,7 @@ export default function Sidebar() {
data-state={isOpen ? "visible" : "hidden"}
>
<header className="split justify-between">
<h1>Options</h1>
<h2>Options</h2>

<button
onClick={close}
Expand Down

0 comments on commit a7cd3e0

Please sign in to comment.