Skip to content

Commit

Permalink
Fix simulation template padding (#1198)
Browse files Browse the repository at this point in the history
* swap box shadow for top and bottom borders
* remove custom margin for simulation template
  • Loading branch information
lklyne authored and JosephVolosin committed Oct 21, 2024
1 parent 8cb6799 commit d4a48b8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 5 additions & 1 deletion src/components/parameters/Parameters.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -82,12 +82,16 @@
}
.parameters-container :global(> div.highlight) {
border: 1px solid transparent;
box-sizing: border-box;
margin-bottom: -1px;
margin-top: -1px;
padding: 4px 0;
}
.parameters-container :global(> div.highlight:hover) {
box-shadow: 0px 0px 0px 1px var(--st-gray-20);
border-bottom: 1px solid var(--st-gray-20);
border-top: 1px solid var(--st-gray-20);
}
.parameter-info {
Expand Down
4 changes: 0 additions & 4 deletions src/components/simulation/SimulationPanel.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -475,10 +475,6 @@
margin-top: 8px;
}
.simulation-template {
margin-left: -7px;
}
:global(.simulation-collapse.collapse .content) {
margin: 0;
}
Expand Down

0 comments on commit d4a48b8

Please sign in to comment.