Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
frontend
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Jira
External wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
minerva
frontend
Commits
508fa31a
Commit
508fa31a
authored
1 year ago
by
Adrian Orłów
Browse files
Options
Downloads
Patches
Plain Diff
fix: rfc changes
parent
bb7f50c3
No related branches found
Branches containing commit
No related tags found
Tags containing commit
2 merge requests
!223
reset the pin numbers before search results are fetch (so the results will be...
,
!99
feat: Add map action buttons (without zoom to pin group)
Pipeline
#84405
passed
1 year ago
Changes
2
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/components/Map/MapAdditionalActions/MapAdditionalActions.component.tsx
+6
-6
6 additions, 6 deletions
...p/MapAdditionalActions/MapAdditionalActions.component.tsx
tailwind.config.ts
+1
-1
1 addition, 1 deletion
tailwind.config.ts
with
7 additions
and
7 deletions
src/components/Map/MapAdditionalActions/MapAdditionalActions.component.tsx
+
6
−
6
View file @
508fa31a
...
...
@@ -12,28 +12,28 @@ export const MapAdditionalActions = (): JSX.Element => {
<
div
className
=
{
twMerge
(
'
absolute bottom-6 right-6 z-10 flex flex-col gap-4
'
,
'
drop-shadow-
second
ary
'
,
'
drop-shadow-
prim
ary
'
,
)
}
>
<
button
type
=
"button"
className
=
"flex h-
[48px] w-[48px]
items-center justify-center rounded-full bg-white"
className
=
"flex h-
12 w-12
items-center justify-center rounded-full bg-white"
onClick
=
{
zoomInToBioEntities
}
>
<
Image
src
=
{
locationIcon
}
alt
=
"location button icon"
height
=
{
28
}
width
=
{
28
}
/>
</
button
>
<
div
className
=
"flex h-auto w-
[48px]
flex-col items-center justify-center rounded-full bg-white py-2"
>
<
div
className
=
"flex h-auto w-
12
flex-col items-center justify-center rounded-full bg-white py-2"
>
<
button
type
=
"button"
className
=
"flex h-
[48px] w-[48px]
items-center justify-center"
className
=
"flex h-
12 w-12
items-center justify-center"
onClick
=
{
zoomIn
}
>
<
Image
src
=
{
magnifierZoomInIcon
}
alt
=
"zoom in button icon"
height
=
{
24
}
width
=
{
24
}
/>
</
button
>
<
div
className
=
"h-
[1
px
]
w-
[32px]
bg-[#F1F1F1]"
/>
<
div
className
=
"h-px w-
12
bg-[#F1F1F1]"
/>
<
button
type
=
"button"
className
=
"flex h-
[48px] w-[48px]
items-center justify-center"
className
=
"flex h-
12 w-12
items-center justify-center"
onClick
=
{
zoomOut
}
>
<
Image
src
=
{
magnifierZoomOutIcon
}
alt
=
"zoom out button icon"
height
=
{
24
}
width
=
{
24
}
/>
...
...
This diff is collapsed.
Click to expand it.
tailwind.config.ts
+
1
−
1
View file @
508fa31a
...
...
@@ -37,7 +37,7 @@ const config: Config = {
primary
:
'
4px 8px 32px 0px rgba(0, 0, 0, 0.12)
'
,
},
dropShadow
:
{
second
ary
:
'
0px 4px 24px rgba(0, 0, 0, 0.08)
'
,
prim
ary
:
'
0px 4px 24px rgba(0, 0, 0, 0.08)
'
,
},
},
fontFamily
:
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment