Skip to content

Commit

Permalink
fix naming and css junk
Browse files Browse the repository at this point in the history
  • Loading branch information
haileys committed Apr 2, 2020
1 parent 263e60e commit 4aaa26d
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion frontend/src/lib.rs
@@ -1,4 +1,4 @@
#![recursion_limit="256"]
#![recursion_limit="512"]

mod util;
mod workspace;
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/workspace.rs
Expand Up @@ -380,7 +380,7 @@ impl Component for Workspace {
let workspace = self.link.clone();

if let (Some(module), Some(geometry)) = (module, geometry) {
let name = format!("{:?}", module);
let name = format!("{:?}", module).chars().take_while(|c| c.is_alphanumeric()).collect::<String>();
html! { <Window id={id} module={module} refs={refs} name={name} workspace={workspace} geometry={geometry} /> }
} else {
html! {}
Expand Down
2 changes: 2 additions & 0 deletions frontend/static/style.css
Expand Up @@ -79,6 +79,7 @@ body {
flex-flow:column nowrap;
padding-top:8px;
margin-left:-17px;
width:34px;
align-items:flex-start;
}

Expand All @@ -87,6 +88,7 @@ body {
flex-flow:column nowrap;
padding-top:8px;
margin-right:-17px;
width:34px;
align-items:flex-end;
}

Expand Down

0 comments on commit 4aaa26d

Please sign in to comment.