Make sure popup is on top over other spans. wrap long line.

llvm-svn: 49870
This commit is contained in:
Chris Lattner 2008-04-17 21:28:41 +00:00
parent 4704baa555
commit f219126107
1 changed files with 3 additions and 2 deletions

View File

@ -120,7 +120,8 @@ void html::EscapeText(Rewriter& R, unsigned FileID,
if (!ReplaceTabs)
break;
if (EscapeSpaces)
RB.ReplaceText(FilePos, 1, "        ", 6*8);
RB.ReplaceText(FilePos, 1, "     "
"   ", 6*8);
else
RB.ReplaceText(FilePos, 1, " ", 8);
break;
@ -269,7 +270,7 @@ void html::AddHeaderFooterInternalBuiltinCSS(Rewriter& R, unsigned FileID) {
" .macro:hover .expansion { display: block; border: 2px solid #FF0000; "
"padding: 2px; background-color:#FFF0F0;"
" -webkit-border-radius:5px; -webkit-box-shadow:1px 1px 7px #000; "
"position: absolute; top: -1em; left:10em } \n"
"position: absolute; top: -1em; left:10em; z-index: 1 } \n"
" .macro { color: #FF0000; background-color:#FFC0C0;"
// Macros are position: relative to provide base for expansions.
" position: relative }\n"