Skip to content

Commit 9e7497f

Browse files
committed
Add box shadow
1 parent 05084c5 commit 9e7497f

File tree

1 file changed

+13
-2
lines changed

1 file changed

+13
-2
lines changed

src/client/src/pages/detail/labeling/labelingPanel.tsx

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,11 @@ const LabelingPanel: FC<LabelingPanelProps> = ({ boreholeId }) => {
253253
setSelectedFile(files?.find(file => file.id === item.key));
254254
}
255255
}}
256-
sx={{ height: "44px" }}
256+
sx={{
257+
height: "44px",
258+
boxShadow:
259+
"0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12)",
260+
}}
257261
/>
258262
</Stack>
259263
<Stack
@@ -265,7 +269,14 @@ const LabelingPanel: FC<LabelingPanelProps> = ({ boreholeId }) => {
265269
gap: 1,
266270
}}>
267271
<ZoomControls onZoomIn={zoomIn} onZoomOut={zoomOut} onFitToExtent={fitToExtent} applyBaseStyling={false} />
268-
<Button variant="text" onClick={rotateImage} sx={{ height: "44px" }}>
272+
<Button
273+
variant="text"
274+
onClick={rotateImage}
275+
sx={{
276+
height: "44px",
277+
boxShadow:
278+
"0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12)",
279+
}}>
269280
<RotateCwSquare />
270281
</Button>
271282
</Stack>

0 commit comments

Comments
 (0)