1
0
Fork 0
forked from forgejo/forgejo

fix media query edge case (#13546)

* fix media query edge case

was failing for 768px width before

* code review

* define responsive breakpoints as less variables

* add missing variables.less

* rename variables, drop screen constraints

* fix less import

* Apply suggestions from code review

Co-authored-by: silverwind <me@silverwind.io>

* code review

altough it doesnt matter, LESS lazy evals variables

Co-authored-by: zeripath <art27@cantab.net>
Co-authored-by: silverwind <me@silverwind.io>
Co-authored-by: techknowlogick <techknowlogick@gitea.io>
This commit is contained in:
Norwin 2020-11-17 05:33:19 +00:00 committed by GitHub
parent b83825253e
commit 75ebf7c5bd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
12 changed files with 72 additions and 51 deletions

View file

@ -7,7 +7,7 @@
padding: 0 !important;
}
@media (max-width: 1200px) {
@media @mediaLgAndDown {
& {
display: none;
}
@ -30,7 +30,7 @@
left: 25px;
}
@media (max-width: 1200px) {
@media @mediaLgAndDown {
.heatmap-container .total-contributions {
left: 21px;
}