Skip to content

Commit

Permalink
style(#47): ran prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
franmagn committed Nov 4, 2025
1 parent 39ac3f2 commit c00de21
Show file tree
Hide file tree
Showing 2 changed files with 192 additions and 96 deletions.
14 changes: 6 additions & 8 deletions src/MeasurementControl/measurementsPanel.css
Original file line number Diff line number Diff line change
Expand Up @@ -282,15 +282,15 @@
flex-direction: row;
align-items: center;
margin-top: 10px;
cursor: pointer;
cursor: pointer;
border-radius: 4px;
}
.tool-with-label:hover {
box-shadow: 0 0 5px #fff8;
}

.tool-with-label:hover img {
filter: brightness(1.7);
filter: brightness(1.7);
}

.tool-with-label:hover .tool-label {
Expand All @@ -302,7 +302,7 @@
margin-top: 2px;
margin-left: 4px;
color: #aaa;
pointer-events: none;
pointer-events: none;
}

/* On-canvas measurement label styling for improved contrast */
Expand All @@ -311,15 +311,13 @@
transform: translate(-50%, -100%);
pointer-events: none;
color: #000;
background: rgba(255,255,255,0.95);
background: rgba(255, 255, 255, 0.95);
padding: 2px 6px;
border-radius: 4px;
box-shadow: 0 1px 3px rgba(0,0,0,0.35);
border: 1px solid rgba(0,0,0,0.08);
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
border: 1px solid rgba(0, 0, 0, 0.08);
font-weight: 600;
font-size: 12px;
white-space: nowrap;
z-index: 2100;
}


Loading

0 comments on commit c00de21

Please sign in to comment.