【问题标题】:Issue with css form in Rails appRails 应用程序中的 css 表单问题
【发布时间】:2013-07-27 15:21:33
【问题描述】:

我正在学习 railstutorial.org,最近决定创建自己的博客。我做到了,现在看起来像 问题是关于文章的,其中的文字是一行,我不明白为什么

我的 custom.css.scss 文件:

@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;
}   

附:我渴望

【问题讨论】:

  • 您应该尝试在虚假内容中添加空格。

标签: css ruby-on-rails railstutorial.org


【解决方案1】:

这是由于您添加到部分和 html 的溢出。删除这些,然后看看你有什么。还将400px 的宽度设置为容纳博客帖子的容器。

【讨论】:

  • 我删除了 html 和部分。什么都没发生
  • 为了获得更多帮助,我需要一个指向该站点的链接或在小提琴中重新创建问题
  • 抱歉耽搁了。 github适合你吗? link
猜你喜欢
  • 2014-06-04
  • 1970-01-01
  • 1970-01-01
  • 2013-03-14
  • 2015-11-09
  • 2020-07-18
  • 2016-10-31
  • 2019-01-27
  • 2012-11-26
相关资源
最近更新 更多