Skip to content

Commit

Permalink
Make linter happy
Browse files Browse the repository at this point in the history
  • Loading branch information
henhuy committed Apr 5, 2024
1 parent 29d7004 commit 30ed1d3
Show file tree
Hide file tree
Showing 11 changed files with 17 additions and 22 deletions.
2 changes: 1 addition & 1 deletion digiplan/map/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@

from django.conf import settings
from django.http import HttpRequest, response
from django.utils.translation import gettext_lazy as _
from django.views.generic import TemplateView
from django_mapengine import views
from django.utils.translation import gettext_lazy as _

from digiplan import __version__
from digiplan.map import config
Expand Down
2 changes: 1 addition & 1 deletion digiplan/static/images/icons/pv_high_outlined.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion digiplan/static/images/icons/pv_low_outlined.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion digiplan/static/images/icons/pv_medium_outlined.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion digiplan/static/images/icons/wind_outlined.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions digiplan/static/images/logos/EmPowerPlan_logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 0 additions & 4 deletions digiplan/static/js/elements.js
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,3 @@ document.addEventListener('DOMContentLoaded', function() {
}
});
});




2 changes: 1 addition & 1 deletion digiplan/static/scss/base/_variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -101,4 +101,4 @@ $icon-margin-right: 0.25rem;

// ANIMATIONS
$animation-transition: transform 0.3s ease;
$animation-transform: translateX(4px);
$animation-transform: translateX(4px);
2 changes: 1 addition & 1 deletion digiplan/static/scss/components/_sliders.scss
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
background-size: cover;
margin-right: 0.5rem;
}

.irs.irs--flat .irs-bar, .irs.irs--flat .irs-handle > i:first-child, .irs.irs--flat .irs-single {
background-color: $slider-main-color;
border-color: $slider-main-color;
Expand Down
2 changes: 1 addition & 1 deletion digiplan/static/scss/layouts/_challenges.scss
Original file line number Diff line number Diff line change
Expand Up @@ -156,4 +156,4 @@
color: $cyan-700;
}
}
}
}
15 changes: 7 additions & 8 deletions digiplan/static/scss/layouts/_main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
.main-content {
@extend .container;
@extend .py-4;

@include media-breakpoint-down(md) {
padding: 0 !important;
}
Expand All @@ -23,19 +23,19 @@
width: 100%;
height: $footer-height;
z-index: 9;

&__btns {
@extend .d-flex;
@extend .flex-row;
@extend .px-4;
@extend .py-2;
@extend .border-bottom;

button {
@extend .w-50;
}
}

&__links {
@extend .d-flex;
@extend .flex-row;
Expand All @@ -50,22 +50,21 @@
@extend .justify-content-center;
@extend .align-items-center;
}

li {
@extend .d-inline-block;
@extend .fs-7;

button {
@extend .bg-white;
@extend .border-0;
@extend .link-primary;
}
}

li:not(:last-of-type) {
@extend .pe-2;
}
}
}
}

0 comments on commit 30ed1d3

Please sign in to comment.