Skip to content

Commit

Permalink
climbing: Fix poi width (#278)
Browse files Browse the repository at this point in the history
  • Loading branch information
jvaclavik authored Mar 24, 2024
1 parent 26289cd commit 983f382
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 2 deletions.
10 changes: 9 additions & 1 deletion src/components/FeaturePanel/Climbing/ClimbingPanel.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import React from 'react';
import React, { useEffect } from 'react';
import styled from 'styled-components';
import { Button, CircularProgress } from '@material-ui/core';
import Router from 'next/router';
Expand Down Expand Up @@ -71,6 +71,14 @@ const LoadingContainer = styled.div`
export const ClimbingPanel = ({ footer, showTagsTable }) => {
const { feature } = useFeatureContext();
const label = getLabel(feature);
useEffect(() => {
console.log(

Check warning on line 75 in src/components/FeaturePanel/Climbing/ClimbingPanel.tsx

View workflow job for this annotation

GitHub Actions / lint-test

Unexpected console statement
'____',
window
.getComputedStyle(document.documentElement)
.getPropertyValue('--sat'),
);
}, []);

const {
loadPhotoRelatedData,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ const RowWithDragHandler = styled.div<{ isDraggedOver: boolean }>`
position: relative;
font-size: 16px;
border-top: solid 1px ${({ theme }) => theme.palette.divider};
z-index: ${({ isSelected }) => (isSelected ? '2' : 'auto')};
`;
const DragHandler = styled.div`
width: 30px;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const PoiType = styled.div<{ isSkeleton: Boolean; dark: Boolean }>`
margin: 0 auto 0 15px;
font-size: 13px;
position: relative;
width: 100%;
flex: 1;
svg {
vertical-align: bottom;
Expand Down

0 comments on commit 983f382

Please sign in to comment.