Skip to content
This repository has been archived by the owner on Mar 4, 2024. It is now read-only.

Commit

Permalink
fix: take as much space as possible for ndoe data on the Add panel
Browse files Browse the repository at this point in the history
  • Loading branch information
prescientmoon committed May 6, 2020
1 parent 3fa00f3 commit 579e04f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
3 changes: 2 additions & 1 deletion public/styles/pages/editor/add.scss
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@
flex-direction: column;

height: 100%;
margin-left: 1rem;
justify-content: space-evenly;
}

Expand All @@ -123,9 +124,9 @@

#node-text {
display: flex;
flex-grow: 1;
flex-direction: column;
text-overflow: ellipsis;
width: calc(15rem - 100px);

& > * {
cursor: default;
Expand Down
4 changes: 1 addition & 3 deletions src/Component/Editor.purs
Original file line number Diff line number Diff line change
Expand Up @@ -271,9 +271,7 @@ component =
-- We only allow editing the example status when we are an admine
isAdmin <- gets $ view _isAdmin
when isAdmin $ modify_ $ set _isExample isExample
SearchNodes input -> do
printString input
modify_ $ set _nodeSearchTerm input
SearchNodes input -> modify_ $ set _nodeSearchTerm input

handleTreeOutput :: TreeC.Output -> Maybe Action
handleTreeOutput = case _ of
Expand Down

0 comments on commit 579e04f

Please sign in to comment.