简体   繁体   中英

CSS not updating in Chapter 10 of Michael Hartl's Rail's tutorial

In chapter 10 of the tutorial I'm changing the CSS for microposts to look different. However they won't update on my local server. I tried restarting the server and resetting and repopulating the database but still no luck. Why is this happening?

Custom CSS File

/* microposts */

.microposts {
  list-style: none;
  margin: 10px 0 0 0;

  li {
    padding: 10px 0;
    border-top: 1px solid #e8e8e8;
  }
}
.content {
  display: block;
}
.timestamp {
  color: $grayLight;
}
.gravatar {
  float: left;
  margin-right: 10px;
}
aside {
  textarea {
    height: 100px;
    margin-bottom: 5px;
  }
}

Restarting my computer somehow solved the problem. Thanks for everyone's input!

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM