Uh oh!
There was an error while loading. Please reload this page.
Use flexbox for header and rearrange some elements - #2924
Conversation
mention-bot
commented
Jan 3, 2017
@ChristophWurst, thanks for your PR! By analyzing the history of the files in this pull request, we identified @jancborchardt, @Henni and @nickvergessen to be potential reviewers. |
| .searchbox input[type="search"]:valid { | ||
| color: #fff; | ||
| width: 155px; | ||
| max-width: 50%; |
There was a problem hiding this comment.
@skjnldsv if this line is active, the input is narrower on the right, which means some space between the input and the settings menu shows ups. Any idea what might cause that? I've tried different fixes but none solved it so far. The max-width is needed for narrow window sizes like on mobile to prevent the input take up too much space.
There was a problem hiding this comment.
Almost have it. Will push it tonight!
911db1e to
237de91Comparenickvergessen
commented
Jan 5, 2017
Did you try if this breaks the notification UI? |
ChristophWurst
commented
Jan 5, 2017
Not yet, thanks for the hint |
@ChristophWurst Pushed what I got so far. |
90c02dd to
a846327CompareChristophWurst
commented
Jan 9, 2017
Awesome, thank you @skjnldsv! I added another small fix. Now it seems to work nicely, except for extremely narrow window sizes. There, the fixed search input width is too big. |
ChristophWurst
commented
Jan 9, 2017
@nickvergessen apparently works with notifications too: |
ChristophWurst
commented
Jan 9, 2017
@eppfel@jancborchardt@juliushaertl@skjnldsv not sure how much of an issue that is, but would be great if we can fix this too. Suggestions are very welcome :-) |
nickvergessen
commented
Jan 9, 2017
Previously the notification icon was right of the search, but I guess it's okay |
ChristophWurst
commented
Jan 9, 2017
We can change that of course. https://github.com/nextcloud/notifications/blob/643b3d8e26a821a2b5257064f9b9d8804e8e044d/js/app.js#L93-L94 modifies the relevant elements. |
Current coverage is 53.92% (diff: 0.00%)@@ master #2924 diff @@
==========================================
Files 1302 1302 Lines 80097 80097 Methods 7905 7905 Messages 0 0 Branches 1245 1245 ==========================================
Hits 43189 43189 Misses 36908 36908 Partials 0 0
|
| </h1> | ||
| </div> | ||
| </a> | ||
| <div class="header-left"> |
There was a problem hiding this comment.
You use an ID for header-right, but a class here. Better would be an ID here too. :)
| /* do not show display name when profile picture is present */ | ||
| #header { | ||
| #header-left #header-right { |
There was a problem hiding this comment.
Comma and line break missing I guess? Because header-right is a sibling of header-left, and not a child.
| display: flex; | ||
| } | ||
| div.header-left { |
There was a problem hiding this comment.
As with the comment below, use an ID. Then also remove the div part because an ID (or class) is enough to identify. :)
jancborchardt
commented
Jan 14, 2017
@ChristophWurst@skjnldsv see my detail comments. Except if this is intentional of course, but it doesn’t look like it :) |
83b39b9 to
f25c09eCompare| @@ -169,7 +169,6 @@ body { | |||
| border: 0; | |||
| border-radius: 3px; | |||
| margin-top: 9px; | |||
There was a problem hiding this comment.
Search box is too low.
Remove the marginTop
skjnldsv
commented
Jan 17, 2017
Very nice work! |
ChristophWurst
commented
Jan 17, 2017
I will take care of fixing Gallery in case this breaks something there too |
jancborchardt
commented
Jan 17, 2017
Video calls shared by link will be affected too ;) And maybe Collabora Office uses a separate template for the header too? |
ChristophWurst
commented
Jan 17, 2017
then someone will fix it ;-) |
db5f164 to
d1f3fc2Compare
MorrisJobke
left a comment
There was a problem hiding this comment.
I rebased this, resolved the conflicts, tested it and it works like a charm 👍
@ChristophWurst Could you please check that the rebase went fine (otherwise db5f164 is the old sha sum ;))
skjnldsv
commented
Jan 19, 2017
ChristophWurst
commented
Jan 19, 2017
❤️ 😗 thanks :-) Will check it ASAP |
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
d1f3fc2 to
ac6d501Comparerebased again because it was conflicting with the changes from #3187 New issues:
cc @nextcloud/designers |
MorrisJobke
left a comment
There was a problem hiding this comment.
I tested this again and it looks fine 👍
MorrisJobke
commented
Jan 23, 2017
It will only need a little adjustment of the notification icon in the notifications app. I will do that. |
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
MorrisJobke
commented
Jan 23, 2017
|


this is just a little cleanup for #207