Skip to content

Commit

Permalink
Minor changes
Browse files Browse the repository at this point in the history
  • Loading branch information
bigardone committed Jan 29, 2016
1 parent 23f331c commit 9ab07f8
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
6 changes: 4 additions & 2 deletions test/integration/add_lists_test.exs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ defmodule PhoenixTrello.AddListsTest do
@tag :integration
test "Clicking on previously created board", %{user: user, board: board} do
user_sign_in(%{user: user, board: board})

navigate_to "/boards/#{Board.slug_id(board)}"

assert element_visible?({:css, ".view-container.boards.show"})
Expand All @@ -40,7 +40,8 @@ defmodule PhoenixTrello.AddListsTest do
|> find_within_element(:css, "button")
|> click

list = user |> last_list
list = user
|> last_list

assert element_visible?({:id, "list_#{list.id}"})
end
Expand All @@ -50,6 +51,7 @@ defmodule PhoenixTrello.AddListsTest do
|> Repo.preload([boards: [:lists]])
|> Map.get(:boards)
|> List.last
|> Repo.preload(:lists)
|> Map.get(:lists)
|> List.last
end
Expand Down
5 changes: 2 additions & 3 deletions web/static/css/modules/_boards.sass
Original file line number Diff line number Diff line change
Expand Up @@ -171,12 +171,12 @@
.lists-wrapper
$margin: 1em
+clearfix
margin: 0 (-$margin/2)
margin: 0
+display(flex)

.list
+flex(0 0 17em)
margin: 0 $margin/2
margin: 0 $margin/1.5 0 0
animation-duration: .3s
animation-name: fadeIn

Expand All @@ -199,7 +199,6 @@

header
+fill-parent
margin-bottom: $base-spacing/2
cursor: pointer
text-overflow: ellipsis
white-space: nowrap
Expand Down

0 comments on commit 9ab07f8

Please sign in to comment.