Skip to content

Commit 83f71f0

Browse files
committed
Added min-width to body
- Resolve some mobile display issues - Removed unnecessary classes from program lists
1 parent 9646ec2 commit 83f71f0

3 files changed

Lines changed: 4 additions & 3 deletions

File tree

app/assets/stylesheets/layout.css.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ html {
33
}
44

55
body {
6+
min-width: 976px;
67
color: $text-color;
78
background: $background url("square_bg.png") fixed;
89
}

app/views/programs/index.html.haml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
%h3 Featured
1111
.description Our favorite selection of projects.
1212

13-
%ul.featured_programs_list
13+
%ul
1414
- @featured.each do |program|
1515
%li
1616
.title= program_link program
@@ -22,7 +22,7 @@
2222
%h3 All Programs
2323
.description Every program uploaded by our users!
2424

25-
%ul.programs_list
25+
%ul
2626
- @programs.each do |program|
2727
%li
2828
.title= program_link program

features/step_definitions/program_steps.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ def visit_user_programs_page
5555
end
5656

5757
When /^I click the first program link$/ do
58-
within ".programs_list" do
58+
within "#all-programs ul" do
5959
find("li:first-child a").click()
6060
end
6161
end

0 commit comments

Comments
 (0)