Skip to content

Commit

Permalink
chore: run prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
edoardo committed Jul 11, 2024
1 parent bff0825 commit 0330221
Show file tree
Hide file tree
Showing 11 changed files with 13 additions and 14 deletions.
6 changes: 3 additions & 3 deletions src/components/app/styles/App.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@
}

/* Avoid vertical layer dialog scroll on small screens */
:global(#dhis2-portal-root) aside[role=dialog],
:global(#dhis2-portal-root) aside[role=dialog] > div > div {
max-height: calc(100vh - 64px)
:global(#dhis2-portal-root) aside[role='dialog'],
:global(#dhis2-portal-root) aside[role='dialog'] > div > div {
max-height: calc(100vh - 64px);
}

/* Scrollbar width */
Expand Down
2 changes: 1 addition & 1 deletion src/components/core/LabelDisplayOptions.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import {
LABEL_TEMPLATE_NAME_AND_VALUE,
LABEL_TEMPLATE_VALUE_ONLY,
} from '../../constants/layers.js'
import { SelectField } from '.'
import SelectField from './SelectField.js'

const getLabelDisplayOptions = () => [
{
Expand Down
2 changes: 1 addition & 1 deletion src/components/core/styles/Checkbox.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@
/* This styles the tooltip span containing the svg */
.checkbox span {
margin-left: var(--spacers-dp4);
display:flex;
display: flex;
flex-direction: column;
}
2 changes: 1 addition & 1 deletion src/components/core/styles/IconButton.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
.iconButton.disabled svg {
fill: var(--colors-grey400);
cursor: not-allowed;
color: var(--colors-grey400)
color: var(--colors-grey400);
}

.iconButton:not(.disabled):hover {
Expand Down
2 changes: 1 addition & 1 deletion src/components/datatable/styles/BottomPanel.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
}

.closeIcon svg {
position:absolute;
position: absolute;
top: 50%;
left: 50%;
margin: -8px 0 0 -8px;
Expand Down
2 changes: 1 addition & 1 deletion src/components/download/styles/DownloadMapInfo.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
}

.downloadMapInfo table {
table-layout:fixed;
table-layout: fixed;
}

.downloadMapInfo table td {
Expand Down
3 changes: 1 addition & 2 deletions src/components/download/styles/DownloadMenubar.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
z-index: 1200;
background-color: var(--colors-grey600);
left: 0;
top: 0
top: 0;
}

.downloadModeMenu button {
Expand All @@ -19,4 +19,3 @@
:global(.dhis2-map-downloading .maplibregl-popup-close-button) {
display: none;
}

1 change: 0 additions & 1 deletion src/components/download/styles/LegendLayers.module.css
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
.legendLayers {
margin-left: 22px;
}

2 changes: 1 addition & 1 deletion src/components/download/styles/OverviewMap.module.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
.overviewMap {
margin-top: var(--spacers-dp8);
margin-top: var(--spacers-dp8);
border: 1px solid #ccc;
width: 100%;
height: 260px;
Expand Down
3 changes: 2 additions & 1 deletion src/components/layers/overlays/styles/LayerList.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
.list {
max-width: 684px;
max-height: calc(100vh - 150px);
padding: var(--spacers-dp8) var(--spacers-dp4) var(--spacers-dp8) var(--spacers-dp12);
padding: var(--spacers-dp8) var(--spacers-dp4) var(--spacers-dp8)
var(--spacers-dp12);
overflow-y: auto;
}

Expand Down
2 changes: 1 addition & 1 deletion src/components/map/styles/MapPosition.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
width: 100%;
position: relative;
overflow: hidden;
flex: auto
flex: auto;
}

.mapContainer.download {
Expand Down

0 comments on commit 0330221

Please sign in to comment.