Skip to content

Commit

Permalink
fix too wide main on PC (fixes #7)
Browse files Browse the repository at this point in the history
  • Loading branch information
krustowski committed Jul 24, 2024
1 parent 370dd37 commit c2ac6e4
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@
#

APP_NAME=litter-go
APP_VERSION=0.37.4
APP_VERSION=0.37.5
GOLANG_VERSION=1.22
2 changes: 1 addition & 1 deletion api/swagger.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"name": "MIT",
"url": "https://github.com/krustowski/litter-go/blob/master/LICENSE"
},
"version": "0.37.4"
"version": "0.37.5"
},
"host": "littr.eu",
"basePath": "/api/v1",
Expand Down
2 changes: 1 addition & 1 deletion pkg/backend/router.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// @title litter-go
// @version 0.37.4
// @version 0.37.5
// @description nanoblogging platform as PWA built on go-app framework
// @termsOfService https://littr.eu/tos

Expand Down
15 changes: 15 additions & 0 deletions web/litter.css
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,18 @@ sub {
line-height: 1;
font-size: .5em;
}

/*@media only screen and (min-width: 601px) and (max-width: 992px){
main {
max-width: 50%;
}
}*/

@media only screen and (min-width: 993px) {
main {
max-width: 50% !important;
}
/*button {
#max-width: 50%;
}*/
}

0 comments on commit c2ac6e4

Please sign in to comment.