[英]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. 在本教程的第10章中,我将更改微博的CSS,使其看起来有所不同。 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 自定义CSS文件
/* 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!
感谢大家的投入!
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.