Skip to content

Commit 0390cb2

Browse files
committed
update ui
1 parent 6061960 commit 0390cb2

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
lines changed

crates/ui/topbar.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ impl Component for Topbar {
5858
});
5959
div()
6060
.class("topbar-wrapper")
61+
.style(style::BACKGROUND_COLOR, self.background_color)
6162
.child(TopbarBrand {
6263
logo_element: self.logo,
6364
logo_href: self.logo_href,

crates/www/layouts/docs_layout.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
grid-template-rows: auto;
2121
grid-template-columns: 250px minmax(0, 1fr) 250px;
2222
grid-template-areas: "left center right";
23+
height: 100%;
2324
}
2425
}
2526

crates/www/layouts/layout.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ impl Component for Topbar {
7777
},
7878
];
7979
ui::Topbar::new()
80-
.background_color(ui::colors::HEADER.to_owned())
80+
.background_color(ui::colors::SURFACE.to_owned())
8181
.dropdown_background_color(ui::colors::SURFACE.to_owned())
8282
.items(topbar_items)
8383
.logo(Logo::new().into_node())

0 commit comments

Comments
 (0)