Remove bold font-weight and lower font-size for empty search box#23267
Remove bold font-weight and lower font-size for empty search box#23267
Conversation
|
Hi @jneplokh :) This change would change all h2 styles, and that is a bit much. Could you limit it to only change the h2 of the search emptycontent? As far as I could see, you would simply have to do your changes in this file: |
|
@ma12-co did you define the new 15px default as a variable? If not, could you do that, so we can use them elsewhere where we need to bring semantically different elements down visually, like in this case? |
Ok, yeah, I was not sure if that was changing too much, but opened a PR anyways (as if I am wrong, I would get corrected, like now 😄)
Unfortunately, when I added Also, I was hoping to close #22978 in the same PR as they seem related. Where would the code be to change the status font size and font weight? Or would it be better to open a separate PR? Thank you! |
|
Hey, just bumping this! Do you know what I would have to do to reflect the changes on my dev server? |
|
@jneplokh sorry for the late reply! If you do changes to parts like search, you need to compile them with this terminal command: |
727f406 to
9b4d936
Compare
Awesome, that worked! Just pushed the commit to fix the issue :) |
9b4d936 to
493539f
Compare
|
Hey! What is the status here? |
Hello! It seems to be working (on my end), but there was a failed check: https://github.com/nextcloud/server/pull/23267/checks?check_run_id=1316328378 Not sure what is going on there? Do I have to change something here: https://github.com/nextcloud/server/blob/master/core/js/dist/unified-search.js? |
|
Yes, you need to ship the compiled files :) You can rebase and then use the command |
Signed-off-by: Jacob Neplokh <me@jacobneplokh.com>
493539f to
b04368c
Compare
|
/compile /core/js/dist |
Ah ok, got it. Just rebased and commented :) |
|
Hmm now it seems the static code analysis has failed: https://github.com/nextcloud/server/pull/23267/checks?check_run_id=1336555393 with a few different errors it seems. |
Yes, it fails on master, let's ignore :) |
Ah, you don't need to use the bot if you already shipped the up-to-date compiled files :) |
|
Also @jneplokh, as a good habit, when you create PRs that touches design, you can add screenshots so it's easier to review :) |
Makes sense! Will do here and in the future ;) Thank you for the help here, too! |
|
/backport to stable20 |
marcoambrosini
left a comment
There was a problem hiding this comment.
Any particular reason behind lowering the font size in the search box? Shouldn't we keep 15px?
|
Right, we're now using 15. Let's fix this with #23798 |

Fixes #22987
Simple changes to the
h2part. Let me know if there is anything wrong, of course :)Signed-off-by: Jacob Neplokh me@jacobneplokh.com