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

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@49870 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2008-04-17 21:28:41 +00:00
Родитель ec6c574478
Коммит 8aa06aca8b
1 изменённых файлов: 3 добавлений и 2 удалений

Просмотреть файл

@ -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"