Skip to content

Commit

Permalink
Merge pull request #426 from wuespace/feat/ui-improvements
Browse files Browse the repository at this point in the history
feat(frontend-react): Improve UI design of page wrapper
  • Loading branch information
pklaschka authored Dec 12, 2024
2 parents fe6ebb1 + 7617fc3 commit 2024a2c
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ if it got applied immediately on the body while being in a visible wrapper / wid
}

[data-bs-theme='dark'] .pageBackground {
background-color: black;
background-color: #111;
}

/*Layout, etc.*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,12 +65,17 @@ export function PageWrapper({ showSelector }: PageWrapperProps) {
<DashboardDropdown dashboards={dashboards} />
{dashboardId &&
(match ? (
<Button size="sm" form="dashboard-editor" type="submit">
<Button
size="sm"
form="dashboard-editor"
type="submit"
className="ms-2"
>
Save
</Button>
) : (
<Link
className="btn btn-sm btn-secondary"
className="btn btn-sm btn-secondary ms-2"
to={generatePath('/dashboards/:dashboardId/edit', {
dashboardId
})}
Expand Down

0 comments on commit 2024a2c

Please sign in to comment.