Bootstrap面板标题和主体比面板短

时间:2017-11-24 09:24:15

标签: css twitter-bootstrap

我第一次使用自举面板,我的面板标题和面板主体比我的面板短,看起来有点奇怪。在调用引导程序样式时,我对实际发生的事情感到有点困惑。

enter image description here

enter image description here

以下代码:

<div class="software well row hidden">

        <div class="info">
            <div class="panel panel-success">
                <div class="panel-heading"><h3>This INSERT NAME is available to download!</h3></div>
                <div class="panel-body">
                    Or if you've tried that and experienced issues then please fill out the additional info box below and a member of the service desk will be in touch.
                </div>
            </div>
        </div>

    </div>

1 个答案:

答案 0 :(得分:1)

来自评论:

嗯。我[不能重现](https://jsfiddle.net/pbdevch/6t9afwdu/)JSFiddle中的错误。看看你的CSS是被某个主题还是你自己的样式覆盖。

响应:

  

@chade感谢它 - 这是一种css风格,覆盖了我的面板,而不是我期待的面板标题!

I'm answering this so other users with the same problem can easily determine the answer that was provided.