Index: chrome/browser/resources/md_history/side_bar.html |
diff --git a/chrome/browser/resources/md_history/side_bar.html b/chrome/browser/resources/md_history/side_bar.html |
index 37bdc02db0d55a2a3659593ffa17cdc5492d52c8..ea474e8fdf8323eccc6a5edc324816601ce2f614 100644 |
--- a/chrome/browser/resources/md_history/side_bar.html |
+++ b/chrome/browser/resources/md_history/side_bar.html |
@@ -11,6 +11,7 @@ |
<style include="shared-style"> |
:host { |
display: block; |
+ height: 100%; |
padding-top: 5px; |
width: var(--side-bar-width); |
} |
@@ -41,7 +42,7 @@ |
} |
paper-item { |
- -webkit-padding-start: 25px; |
+ -webkit-padding-start: 24px; |
cursor: pointer; |
font-size: 14px; |
font-weight: 500; |
@@ -56,6 +57,26 @@ |
-webkit-user-select: none; |
color: #5a5a5a; |
} |
+ |
+ #footer { |
+ /* This compensates the 120px by which app-drawer protrudes under |
+ * the viewport. */ |
+ bottom: 120px; |
+ color: var(--paper-grey-600); |
+ position: absolute; |
+ width: var(--side-bar-width); |
+ } |
+ |
+ #footer-text { |
+ -webkit-padding-end: 16px; |
+ -webkit-padding-start: 24px; |
+ margin: 24px 0; |
+ } |
+ |
+ #footer a { |
+ color: var(--google-blue-700); |
+ text-decoration: none; |
+ } |
</style> |
<app-drawer id="drawer" tabindex="0" on-focus="onDrawerFocus_" swipe-open |
@@ -76,6 +97,10 @@ |
<paper-item on-tap="onClearBrowsingDataTap_" id="clear-browsing-data"> |
$i18n{clearBrowsingData} |
</paper-item> |
+ <div id="footer" hidden="[[!showFooter]]"> |
+ <div class="separator"></div> |
+ <div id="footer-text">$i18nRaw{sidebarFooter}</div> |
+ </div> |
</iron-selector> |
</app-drawer> |
</template> |