The Author Online Book Forums are Moving

The Author Online Book Forums will soon redirect to Manning's liveBook and liveVideo. All book forum content will migrate to liveBook's discussion forum and all video forum content will migrate to liveVideo. Log in to liveBook or liveVideo with your Manning credentials to join the discussion!

Thank you for your engagement in the AoF over the years! We look forward to offering you a more enhanced forum experience.

363354 (2) [Avatar] Offline
#1
Getting this error. When I put in a custom numerical size it works.

Showing /Users/user/workspace/ticketee/app/views/layouts/application.html.erb where line #13 raised:

Undefined variable: "$screen-sm-min"

extracted source:

@media(min-width: $screen-sm-min) {
header {
h1, h2, h3, h4, h5, h6 {
max-width: 55%;
}
}

Full code here:
https://gist.github.com/Zilenc3/6ead26193b94248e28b0
sevenseacat (42) [Avatar] Offline
#2
Please remove the large `/* */` Sprockets header section in application.css.scss, as directed on page 118. This will stop Sprockets from loading the responsive.scss file before you load Bootstrap.

cheers,
Rebecca
363354 (2) [Avatar] Offline
#3
Thanks, this solved my issue.