Skip to content

Commit

Permalink
style: Automated code fix
Browse files Browse the repository at this point in the history
  • Loading branch information
eea-jenkins committed Jul 23, 2024
1 parent 3c6abf9 commit fd6c49f
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 10 deletions.
7 changes: 4 additions & 3 deletions src/Arcgis/Map/MapBuilder.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,10 @@ const MapBuilder = forwardRef((props, ref) => {
}),
[data.layers, data.styles, data_query, definitionExpression],
);
const widgets = useMemo(() => getWidgets({ widgets: data.widgets }), [
data.widgets,
]);
const widgets = useMemo(
() => getWidgets({ widgets: data.widgets }),
[data.widgets],
);
const settings = useMemo(() => data.settings || {}, [data.settings]);
const viewSettings = useMemo(() => settings.view || {}, [settings.view]);
const initialViewpoint = useMemo(
Expand Down
6 changes: 2 additions & 4 deletions src/Blocks/EmbedEEAMap/schema.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,7 @@ const protectionSchema = {
{
children: [
{
text:
'This map is hosted by a third party, Environmental Systems Research Institute. By showing the external content you accept the terms and conditions of ',
text: 'This map is hosted by a third party, Environmental Systems Research Institute. By showing the external content you accept the terms and conditions of ',
},
{
type: 'a',
Expand All @@ -37,8 +36,7 @@ const protectionSchema = {
],
},
{
text:
'. This includes their cookie policies, which we have no control over.',
text: '. This includes their cookie policies, which we have no control over.',
},
],
},
Expand Down
10 changes: 7 additions & 3 deletions src/styles/editor.less
Original file line number Diff line number Diff line change
Expand Up @@ -108,8 +108,8 @@

.react-select {
.react-select__control {
min-height: auto;
width: 100%;
min-height: auto;
}

.react-select__value-container {
Expand Down Expand Up @@ -304,7 +304,9 @@
color: var(--fold-header-text-color-closed);
font-size: var(--font-size-base);
text-shadow: var(--text-shadow-dark-ui);
transition: background-color 0.1s ease-in-out, color 0.1s ease-in-out,
transition:
background-color 0.1s ease-in-out,
color 0.1s ease-in-out,
border 0.1s ease-in-out;

&__content {
Expand Down Expand Up @@ -398,7 +400,9 @@
column-gap: calc(var(--spacing-half-unit) / 3);
font-size: var(--font-size-medium);
text-shadow: var(--text-shadow-dark-ui-inactive);
transition: background-color 0.1s ease-in-out, color 0.1s ease-in-out,
transition:
background-color 0.1s ease-in-out,
color 0.1s ease-in-out,
border 0.1s ease-in-out;

svg {
Expand Down

0 comments on commit fd6c49f

Please sign in to comment.