[PR #327] [MERGED] Remove mobile media queries #785

Closed
opened 2026-02-25 21:36:14 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/cypht-org/cypht/pull/327
Author: @jasonmunro
Created: 3/14/2019
Status: Merged
Merged: 3/14/2019
Merged by: @jasonmunro

Base: masterHead: remove-mobile-media-queries


📝 Commits (3)

  • f078a23 testing out a new way to deliver the mobile UI
  • 0946163 more css tweaks
  • d5cd536 fix left over char left in css file

📊 Changes

15 files changed (+95 additions, -123 deletions)

View changed files

📝 modules/2fa/site.css (+1 -3)
📝 modules/advanced_search/site.css (+1 -3)
📝 modules/calendar/site.css (+1 -1)
📝 modules/contacts/site.css (+6 -1)
📝 modules/core/handler_modules.php (+1 -0)
📝 modules/core/output_modules.php (+1 -1)
📝 modules/core/site.css (+59 -95)
📝 modules/imap/site.css (+8 -2)
📝 modules/keyboard_shortcuts/site.css (+5 -6)
📝 modules/nux/site.css (+5 -1)
📝 modules/profiles/site.css (+1 -3)
📝 modules/recaptcha/site.css (+1 -3)
📝 modules/saved_searches/site.css (+2 -1)
📝 modules/tags/site.css (+1 -1)
📝 tests/phpunit/modules/core/modules.php (+2 -2)

📄 Description

Instead of using media queries use css selectors to enable mobile layout. This is controlled by a server side check on the user agent which injects a top level class into the page. By removing media queries the mobile UI is limited to a single source of truth and we more control over the use of the mobile UI.


🔄 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/cypht-org/cypht/pull/327 **Author:** [@jasonmunro](https://github.com/jasonmunro) **Created:** 3/14/2019 **Status:** ✅ Merged **Merged:** 3/14/2019 **Merged by:** [@jasonmunro](https://github.com/jasonmunro) **Base:** `master` ← **Head:** `remove-mobile-media-queries` --- ### 📝 Commits (3) - [`f078a23`](https://github.com/cypht-org/cypht/commit/f078a23e8165ae5c15fb37d9469c4c3866973bdb) testing out a new way to deliver the mobile UI - [`0946163`](https://github.com/cypht-org/cypht/commit/0946163e5ba4f5029665c95129dfa065d990eccc) more css tweaks - [`d5cd536`](https://github.com/cypht-org/cypht/commit/d5cd536983791299efe7bbc3a2990667eff519cb) fix left over char left in css file ### 📊 Changes **15 files changed** (+95 additions, -123 deletions) <details> <summary>View changed files</summary> 📝 `modules/2fa/site.css` (+1 -3) 📝 `modules/advanced_search/site.css` (+1 -3) 📝 `modules/calendar/site.css` (+1 -1) 📝 `modules/contacts/site.css` (+6 -1) 📝 `modules/core/handler_modules.php` (+1 -0) 📝 `modules/core/output_modules.php` (+1 -1) 📝 `modules/core/site.css` (+59 -95) 📝 `modules/imap/site.css` (+8 -2) 📝 `modules/keyboard_shortcuts/site.css` (+5 -6) 📝 `modules/nux/site.css` (+5 -1) 📝 `modules/profiles/site.css` (+1 -3) 📝 `modules/recaptcha/site.css` (+1 -3) 📝 `modules/saved_searches/site.css` (+2 -1) 📝 `modules/tags/site.css` (+1 -1) 📝 `tests/phpunit/modules/core/modules.php` (+2 -2) </details> ### 📄 Description Instead of using media queries use css selectors to enable mobile layout. This is controlled by a server side check on the user agent which injects a top level class into the page. By removing media queries the mobile UI is limited to a single source of truth and we more control over the use of the mobile UI. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-25 21:36:14 +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/cypht#785
No description provided.