brew icon indicating copy to clipboard operation
brew copied to clipboard

Missing padding around content when searching

Open quatroweb opened this issue 11 years ago • 4 comments

When using the search function on the site (in the sidebar) it appears that there is no padding around the content in the results.

Maybe a div around the article result?

quatroweb avatar Mar 10 '14 07:03 quatroweb

Or just an adjustment in the:

.hentry, #comments, .respond-form { margin: 0 0 20px 0; border-radius: 0px; background: #FFF; -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05); box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05); border: 1px solid #DDD; padding: 0 20px 20px; <------------ }

quatroweb avatar Mar 10 '14 07:03 quatroweb

Thanks for the catch. The search, and 404 pages in particular have not been updated yet. They will be soon.

slightlyoffbeat avatar Mar 25 '14 05:03 slightlyoffbeat

I can confirm this bug.

I suggest to give the 20px right and left padding to < article > element, instead of giving it to three different classes (.article-header, .entry-content, .article-footer).

This is the fix I suggest:

https://github.com/ShinDarth/brew/commit/c6d9f5ee61a97b648f1d93750d06fe78cf59905c

FrancescoBorzi avatar May 23 '14 16:05 FrancescoBorzi

Pull request (with other improvements) here: https://github.com/slightlyoffbeat/brew/pull/39

FrancescoBorzi avatar May 29 '14 12:05 FrancescoBorzi