Rails应用程序中的css表单问题
我正在学习railstutorial.org,最近决定创建自己的博客。我做了,现在看起来像 问题是关于文章,文本放在一行,我不明白为什么 我的custom.css.scss文件:Rails应用程序中的css表单问题,css,ruby-on-rails,railstutorial.org,Css,Ruby On Rails,Railstutorial.org,我正在学习railstutorial.org,最近决定创建自己的博客。我做了,现在看起来像 问题是关于文章,文本放在一行,我不明白为什么 我的custom.css.scss文件: @import "bootstrap"; /* universal */ $grayMediumLight: #eaeaea; html { overflow-y: scroll; } body { padding-top: 60px; } section { overflow: auto; } text
@import "bootstrap";
/* universal */
$grayMediumLight: #eaeaea;
html {
overflow-y: scroll;
}
body {
padding-top: 60px;
}
section {
overflow: auto;
}
textarea {
resize: both;
}
.center {
text-align: center;
h1 {
margin-bottom: 10px;
}
}
p {
text-align: left;
}
我渴望的是
这是由于您添加到节和html中的溢出。去掉这些,然后看看你有什么。另外,将容纳博客文章的容器的宽度设置为
400px
。我删除了html和节。我需要一个指向该网站的链接,或者这个问题在一个小提琴中被重新创建。抱歉,耽搁了。github适合您吗?你应该尝试在你的假内容中添加空格。