Skip to content

Commit

Permalink
Fix prices component height on wishlists
Browse files Browse the repository at this point in the history
candela97 committed Mar 23, 2024
1 parent 43fd472 commit d26cc1a
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/js/Content/Modules/Prices/PriceOverview.svelte
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
<svelte:options accessors immutable />

<script lang="ts">
import {Localization} from "../../../Core/Localization/Localization";
import {HTML} from "../../../modulesCore";
import {Localization, HTML} from "../../../modulesCore";
import PriceWithAlt from "./PriceWithAlt.svelte";
import {afterUpdate} from "svelte";
import type {TPriceOverview} from "../../../Background/Modules/AugmentedSteam/_types";
@@ -23,7 +22,7 @@
}
afterUpdate(() => {
if (!setBottom || !height) {
if (!setBottom) {
return;
}
height = Math.ceil(node.getBoundingClientRect().height);

0 comments on commit d26cc1a

Please sign in to comment.