Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1483)

Issue 821703003: Hide "result-headers" on mobile when empty (Closed)

Created:
6 years ago by sdefresne
Modified:
5 years, 12 months ago
Reviewers:
Dan Beam
CC:
arv+watch_chromium.org, chromium-reviews, Patrick Dubroy, pam+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Hide "result-headers" on mobile when empty When no search term are entered, remove the "result-headers" on mobile as otherwise it looks incorrect. Use :empty CSS pseudo selector. BUG=440368 Committed: https://crrev.com/c5278d7b93cd4cd3adf1c1ed502b04d248e39ad3 Cr-Commit-Position: refs/heads/master@{#309624}

Patch Set 1 #

Patch Set 2 : Use :empty CSS pseudo selector #

Total comments: 1

Patch Set 3 : Move code to history_mobile.css #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+4 lines, -0 lines) Patch
M chrome/browser/resources/history/history_mobile.css View 1 2 1 chunk +4 lines, -0 lines 2 comments Download

Messages

Total messages: 12 (1 generated)
sdefresne
Please take a look.
6 years ago (2014-12-22 17:11:18 UTC) #1
Dan Beam
can we make this element collapse if it has no text? that way we don't ...
6 years ago (2014-12-22 19:35:14 UTC) #2
sdefresne
On 2014/12/22 at 19:35:14, dbeam wrote: > can we make this element collapse if it ...
6 years ago (2014-12-23 10:43:06 UTC) #3
Dan Beam
https://codereview.chromium.org/821703003/diff/20001/chrome/browser/resources/history/history.css File chrome/browser/resources/history/history.css (right): https://codereview.chromium.org/821703003/diff/20001/chrome/browser/resources/history/history.css#newcode641 chrome/browser/resources/history/history.css:641: #results-header:empty { add this to history_mobile.css instead
6 years ago (2014-12-23 18:03:44 UTC) #4
Dan Beam
lgtm assuming you put these 3 lines into history_mobile.css
6 years ago (2014-12-23 18:04:40 UTC) #5
sdefresne
On 2014/12/23 at 18:04:40, dbeam wrote: > lgtm assuming you put these 3 lines into ...
5 years, 12 months ago (2014-12-24 08:38:35 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/821703003/40001
5 years, 12 months ago (2014-12-24 08:38:57 UTC) #8
commit-bot: I haz the power
Committed patchset #3 (id:40001)
5 years, 12 months ago (2014-12-24 09:25:15 UTC) #9
commit-bot: I haz the power
Patchset 3 (id:??) landed as https://crrev.com/c5278d7b93cd4cd3adf1c1ed502b04d248e39ad3 Cr-Commit-Position: refs/heads/master@{#309624}
5 years, 12 months ago (2014-12-24 09:25:59 UTC) #10
Dan Beam
https://codereview.chromium.org/821703003/diff/40001/chrome/browser/resources/history/history_mobile.css File chrome/browser/resources/history/history_mobile.css (right): https://codereview.chromium.org/821703003/diff/40001/chrome/browser/resources/history/history_mobile.css#newcode320 chrome/browser/resources/history/history_mobile.css:320: display: none; why did you put this for ios ...
5 years, 12 months ago (2014-12-24 19:00:48 UTC) #11
sdefresne
5 years, 12 months ago (2014-12-26 09:42:08 UTC) #12
Message was sent while issue was closed.
https://codereview.chromium.org/821703003/diff/40001/chrome/browser/resources...
File chrome/browser/resources/history/history_mobile.css (right):

https://codereview.chromium.org/821703003/diff/40001/chrome/browser/resources...
chrome/browser/resources/history/history_mobile.css:320: display: none;
On 2014/12/24 at 19:00:48, Dan Beam wrote:
> why did you put this for ios only?  doesn't this affect android as well?

The original bug was reported against iOS and I cannot find a corresponding bug
reported against android, nor do I have a recent build of android to test.

Powered by Google App Engine
This is Rietveld 408576698