Skip to content

Commit

Permalink
Feature/UI improvements (#14)
Browse files Browse the repository at this point in the history
* Change order of fields

* Move buttons up

* Reduce size of map
  • Loading branch information
r00tat authored Dec 26, 2023
1 parent de97515 commit 3fbdef5
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/components/FirecallItems/elements/FirecallVehicle.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ export class FirecallVehicle extends FirecallItemBase {

public fields(): { [fieldName: string]: string } {
return {
...super.fields(),
name: 'Bezeichnung',
fw: 'Feuerwehr',
besatzung: 'Besatzung 1:?',
ats: 'ATS Träger',
Expand Down
2 changes: 1 addition & 1 deletion src/components/Map/MapActionButtons.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ export default function MapActionButtons({ map }: MapActionButtonsOptions) {
sx={{
// '& > :not(style)': { m: 1 },
position: 'absolute',
bottom: 16,
bottom: 24,
right: 16,
}}
>
Expand Down
2 changes: 1 addition & 1 deletion src/components/Map/PositionAction.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export default function PositionAction() {
sx={{
// '& > :not(style)': { m: 1 },
position: 'absolute',
bottom: 16,
bottom: 24,
left: 16,
}}
>
Expand Down
4 changes: 2 additions & 2 deletions src/styles/globals.css
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,10 @@ a {
}

#map {
height: 90vh;
height: 88vh;
}

div.leaflet-container {
height: 90vh;
height: 88vh;
width: 100%;
}

0 comments on commit 3fbdef5

Please sign in to comment.