0

Minor styling adjustments to chrome://history and embeddings

- Reduce font-size of timestamp for normal history search results
- Add some margin to the timetsamp for history embedding results

Change-Id: I6557bfc5e9dd92c7cb00be83f62e55d10b57a7b5
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5697901
Reviewed-by: manuk hovanesian <manukh@chromium.org>
Commit-Queue: John Lee <johntlee@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1326882}
This commit is contained in:
John Lee
2024-07-12 18:01:11 +00:00
committed by Chromium LUCI CQ
parent a4dda974de
commit 052877a696
2 changed files with 6 additions and 1 deletions
chrome/browser/resources/history
ui/webui/resources/cr_components/history_embeddings

@ -76,6 +76,7 @@
#time-accessed {
color: var(--history-item-time-color);
font-size: 12px;
margin-inline-start: 6px;
min-width: 96px;
}

@ -59,6 +59,10 @@ cr-url-list-item:hover + hr {
opacity: 0;
}
.time {
margin-inline-start: 16px;
}
.footer {
display: flex;
align-items: center;
@ -112,7 +116,7 @@ a {
description="[[item.urlForDisplay]]"
on-click="onResultClick_" on-auxclick="onResultClick_"
as-anchor as-anchor-target="_blank" always-show-suffix>
<span slot="suffix">[[item.relativeTime]]</span>
<span class="time" slot="suffix">[[item.relativeTime]]</span>
<cr-icon-button slot="suffix" iron-icon="cr:more-vert"
on-click="onMoreActionsClick_">
</cr-icon-button>