[PR #612] [MERGED] Improve formatting of collapsible infobox #926

Closed
opened 2026-02-25 20:37:07 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/benbusby/whoogle-search/pull/612
Author: @nityy
Created: 1/15/2022
Status: Merged
Merged: 1/18/2022
Merged by: @benbusby

Base: mainHead: fix-infobox


📝 Commits (1)

  • a0fd2b7 Improve formatting of collapsible infobox

📊 Changes

2 files changed (+17 additions, -1 deletions)

View changed files

📝 app/filter.py (+13 -1)
📝 app/static/css/search.css (+4 -0)

📄 Description

Some long infoboxes (typically movies, artists) are treated as collapsibles due to having more than 5 child divs. This PR improves the subtitle (typically year, length, genre, profession, links etc.) display by putting it in parentheses and appending to title. Also sets its font weight to normal.

A instance is running here with the changes until this is merged.

before
Before


after
After


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/benbusby/whoogle-search/pull/612 **Author:** [@nityy](https://github.com/nityy) **Created:** 1/15/2022 **Status:** ✅ Merged **Merged:** 1/18/2022 **Merged by:** [@benbusby](https://github.com/benbusby) **Base:** `main` ← **Head:** `fix-infobox` --- ### 📝 Commits (1) - [`a0fd2b7`](https://github.com/benbusby/whoogle-search/commit/a0fd2b78267603d7f98447617f191f1fdd2e1aca) Improve formatting of collapsible infobox ### 📊 Changes **2 files changed** (+17 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `app/filter.py` (+13 -1) 📝 `app/static/css/search.css` (+4 -0) </details> ### 📄 Description Some long infoboxes (typically movies, artists) are treated as collapsibles due to having more than 5 child divs. This PR improves the subtitle (typically year, length, genre, profession, links etc.) display by putting it in parentheses and appending to title. Also sets its font weight to normal. A instance is running [here](https://whoogle-test.fly.dev/) with the changes until this is merged. ![before](https://user-images.githubusercontent.com/58942389/149619837-83bb488e-747f-4629-ab70-67cfe52c3c2c.png) **Before** *** ![after](https://user-images.githubusercontent.com/58942389/149619862-c97f2f4e-5ec4-46d2-8b72-036aeee9f112.png) **After** --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-25 20:37:07 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/whoogle-search#926
No description provided.