2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-05-15 11:59:39 +03:00

scope th bottom vertical-align to only thead, update code styles to include more comments in less file and scrollable option for pre tag

This commit is contained in:
Mark Otto
2012-02-10 23:07:32 -08:00
parent c10661cf5d
commit d7aefe67e3
8 changed files with 31 additions and 11 deletions
+10
View File
@@ -11,12 +11,16 @@ pre {
color: @grayDark;
.border-radius(3px);
}
// Inline code
code {
padding: 3px 4px;
color: #d14;
background-color: #f7f7f9;
border: 1px solid #e1e1e8;
}
// Blocks of code
pre {
display: block;
padding: (@baseLineHeight - 1) / 2;
@@ -44,3 +48,9 @@ pre {
border: 0;
}
}
// Enable scrollable blocks of code
.pre-scrollable {
max-height: 340px;
overflow-y: scroll;
}