Skip to content

Commit

Permalink
add border
Browse files Browse the repository at this point in the history
  • Loading branch information
bartlomieju committed Oct 26, 2023
1 parent 5f10aad commit 968d82d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/html/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ fn render_sidepanel(
) -> String {
let mut sidepanel = String::with_capacity(1024);

sidepanel.push_str(r#"<div>"#);
sidepanel.push_str(r#"<div id="sidepanel">"#);
sidepanel.push_str(&format!(
r#"<h2><a href="{}">{}</a></h2>"#,
ctx.base_url, ctx.package_name
Expand Down
4 changes: 4 additions & 0 deletions src/html/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,10 @@ a {
color: inherit;
text-decoration: inherit;
}
#sidepanel {
border-right: 1px solid;
padding: 3px;
}
/* doc classes */
.symbol_group > * + * {
margin-top: 3rem;
Expand Down

0 comments on commit 968d82d

Please sign in to comment.