我正在寻找使用 Twitter Bootstrap 制作一个小的侧边栏。
我希望段落文本能够自由换行,并且我总是希望右侧的按钮。但是,每当浏览器从全屏调整到更小的宽度时,垂直按钮组就会下降到下一行并占据 while 窗口的宽度。丑陋。我能做些什么来改变这一点?
基本上,我正在查看这样的代码:
<div class="container">
<div class="row" style="margin-top: 10px;">
<div class="span9 citation-text">
<p class="citation-text">Here is a ton of text that is supposed to be a citation
but I'm hoping it'll wrap that's why it's not a citation. And yet it doesn't wrap
so it looks like I'll have to keep writing and writing until it does.</p>
</div>
<div class="span3 vertical-btn-group citation-options">
<input type="button" class="btn btn-small btn-block btn-info citation-edit"
value="Edit" /> <input type="button" class=
"btn btn-small btn-block btn-danger citation-remove" value="Remove" />
<input type="button" class=
"btn btn-small btn-block btn-warning citation-highlight" value="Highlight" />
</div>
</div>
</div>
这是 JSFiddle 的链接:
调整大小,你会明白我在说什么。