Page 1 of 1

strongsconcordance.org - Search box text isn't visible

Posted: 2022-12-05, 15:10
by freedom4all
https://strongsconcordance.org

For some reason the text doesn't show up in the search box. I'm not seeing an errors related to this. It works fine in Firefox

See here:

Image

Re: strongsconcordance.org - Search box text isn't visible

Posted: 2022-12-05, 15:20
by vannilla
The text is hidden by some huge padding.
If you change the search bar's CSS to include:

Code: Select all

padding-top: 0 !important;
padding-bottom: 0 !important;
the inserted letters will appear.

I think this behaviour was discussed somewhere else on the forum. If I recall correctly it's some Chrome quirk in which the padding is used to be equal to a height directive.

Re: strongsconcordance.org - Search box text isn't visible

Posted: 2022-12-05, 15:29
by freedom4all
That is indeed the issue. For the time being, I've added a rule for that to my SiteStyles extension. Thanks

Re: strongsconcordance.org - Search box text isn't visible

Posted: 2022-12-05, 15:36
by Moonchild
vannilla wrote:
2022-12-05, 15:20
I think this behaviour was discussed somewhere else on the forum.
Yeah it's the blink quirk that padding can be used to force a specific "min-height" (instead of using that keyword as intended) and "propping open" the element with stacked padding, ignoring the fact that padding by the standard means no content can be in the same place, since padding is defined as empty space between border and content, so as a result what you type won't be visible as the space left for content is 0.
I suggest you also write the site owners to let them know about this issue.

Re: strongsconcordance.org - Search box text isn't visible

Posted: 2022-12-05, 19:12
by Danny Carlton
I'm the site owner. Thanks for the heads up. I fixed the error.

Re: strongsconcordance.org - Search box text isn't visible

Posted: 2022-12-05, 19:39
by Moonchild
Danny Carlton wrote:
2022-12-05, 19:12
I'm the site owner. Thanks for the heads up. I fixed the error.
Thanks for the quick turnaround on that and for checking in on the forum :)

Re: strongsconcordance.org - Search box text isn't visible

Posted: 2022-12-05, 22:03
by freedom4all
Danny Carlton wrote:
2022-12-05, 19:12
I'm the site owner. Thanks for the heads up. I fixed the error.
Thank you! Very considerate of you to take the extra time to make an account to let us know. :thumbup: