progmaweb
The site and account service of Progmasoft: a Next.js frontend and an ASP.NET Core API.
Clonegit clone https://git.progmasoft.com/progmaweb
Give git.progmasoft.com a phone layout
- Commit
cf2b6c972c94c30a5d055ca9e24e81ed6b497ff3- Author
- Leitwolf11 ·
- Parents
7a5711ab4687
Changes
ops/git/include/head.html | 1 + ops/git/static/progmasoft-git.css | 14 ++++++++++++++ 2 files changed, 15 insertions(+) diff --git a/ops/git/include/head.html b/ops/git/include/head.html index 2376219..73da116 100644 --- a/ops/git/include/head.html +++ b/ops/git/include/head.html @@ -1 +1,2 @@ +<meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="theme-color" content="#0066b8"> diff --git a/ops/git/static/progmasoft-git.css b/ops/git/static/progmasoft-git.css index 11f765c..eea7beb 100644 --- a/ops/git/static/progmasoft-git.css +++ b/ops/git/static/progmasoft-git.css @@ -707,6 +707,20 @@ div.footer { font-size: 24px; } + div#cgit { + width: calc(100% - 24px); + } + + /* A list or a file wider than a phone scrolls inside its own box. */ + table.list, + table.blob, + table.diff, + div.content pre { + display: block; + max-width: 100%; + overflow-x: auto; + } + .footer-bottom { flex-direction: column; align-items: flex-start;