Skip to content

Commit

Permalink
Fix icon size issues
Browse files Browse the repository at this point in the history
  • Loading branch information
umonkey committed Jan 5, 2025
1 parent e3bd083 commit 9da4890
Show file tree
Hide file tree
Showing 6 changed files with 38 additions and 28 deletions.
10 changes: 5 additions & 5 deletions frontend/src/lib/components/forms/CanopyEditor.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -63,12 +63,12 @@
margin: 0;
line-height: 38px;
}
}
:global(svg) {
width: 30px;
height: 30px;
display: block;
:global(svg) {
width: 30px;
height: 30px;
display: block;
}
}
a.icon {
Expand Down
10 changes: 5 additions & 5 deletions frontend/src/lib/components/forms/CircumferenceEditor.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -65,12 +65,12 @@
margin: 0;
line-height: 38px;
}
}
:global(svg) {
width: 30px;
height: 30px;
display: block;
:global(svg) {
width: 30px;
height: 30px;
display: block;
}
}
a.icon {
Expand Down
10 changes: 5 additions & 5 deletions frontend/src/lib/components/forms/HeightEditor.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -63,12 +63,12 @@
margin: 0;
line-height: 38px;
}
}
:global(svg) {
width: 30px;
height: 30px;
display: block;
:global(svg) {
width: 30px;
height: 30px;
display: block;
}
}
a.icon {
Expand Down
10 changes: 5 additions & 5 deletions frontend/src/lib/components/forms/StateEditor.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -60,11 +60,11 @@
margin: 0;
line-height: 38px;
}
}
:global(svg) {
width: 30px;
height: 30px;
display: block;
:global(svg) {
width: 30px;
height: 30px;
display: block;
}
}
</style>
6 changes: 6 additions & 0 deletions frontend/src/lib/components/tree/Actions.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,12 @@
height: 20px;
color: var(--icon-color-secondary);
text-align: center;
a {
display: block;
width: 100%;
height: 100%;
}
}
.sep {
Expand Down
20 changes: 12 additions & 8 deletions frontend/src/routes/tree/[id=treeid]/measure/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@

<Header title={locale.measureTitle()} />

<div class="padded">
<div class="padded measure">
<AuthWrapper>
{#if tab === 'height'}
<HeightEditor {tree} {onClose} />
Expand Down Expand Up @@ -96,22 +96,19 @@
display: flex;
flex-direction: row;
gap: var(--gap);
color: var(--text-color);
align-items: center;
}
.label {
flex-grow: 1;
flex-shrink: 0;
}
:global(svg) {
width: 30px;
height: 30px;
display: block;
color: var(--text-color-inactive);
}
a {
color: inherit;
display: block;
line-height: 0;
}
button {
Expand All @@ -120,6 +117,13 @@
cursor: pointer;
padding: 0;
margin: 0;
color: inherit;
display: block;
}
:global(svg) {
width: 30px;
height: 30px;
}
}
</style>

0 comments on commit 9da4890

Please sign in to comment.