Fixed css on logo to show image in real size. Additionaly changed the
tags in navigation from nav to div to enable compatibility with the new
navigation menu and IE.
Signed-off-by: Alexandra Yates <alexandra.yates(a)linux.intel.com>
---
src/powertop.css | 5 +++--
src/report/report-formatter-html.cpp | 2 +-
2 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/src/powertop.css b/src/powertop.css
index ff86880..847f25f 100644
--- a/src/powertop.css
+++ b/src/powertop.css
@@ -105,8 +105,9 @@ body {
img.pwtop_logo{
float:left;
- height:90px;
- width: 400px;
+ height:40%;
+ width: 40%;
+ padding:20px;
}
.sys_info
diff --git a/src/report/report-formatter-html.cpp b/src/report/report-formatter-html.cpp
index 210a354..e18b543 100644
--- a/src/report/report-formatter-html.cpp
+++ b/src/report/report-formatter-html.cpp
@@ -518,7 +518,7 @@ report_formatter_html::add_title(struct tag_attr *title_att, const
char *title)
void
report_formatter_html::add_navigation()
{
- add_exact("<br/><nav id=\"main_menu\">
</nav>\n");
+ add_exact("<br/><div id=\"main_menu\">
</div>\n");
}
void
--
1.7.9.5