mirror of
https://github.com/rommapp/romm.git
synced 2026-12-02 10:08:40 +01:00
removed unnecessary comments
This commit is contained in:
@@ -222,11 +222,8 @@ def with_details(func):
|
||||
selectinload(Rom.rom_users).options(noload(RomUser.rom)),
|
||||
load_only(
|
||||
Rom.id,
|
||||
# `platform_id` feeds the per-sibling visibility check in
|
||||
# `_visible_siblings`; without it, reading the attribute
|
||||
# after the session closes raises DetachedInstanceError.
|
||||
Rom.platform_id,
|
||||
Rom.name,
|
||||
Rom.platform_id,
|
||||
Rom.fs_name_no_tags,
|
||||
Rom.fs_name_no_ext,
|
||||
),
|
||||
|
||||
@@ -175,10 +175,6 @@ onBeforeUnmount(() => {
|
||||
text-decoration: none;
|
||||
color: var(--r-color-fg);
|
||||
flex-shrink: 0;
|
||||
/* Grid items default to `justify-self: stretch`, which would stretch this
|
||||
link across its whole `1fr` column — turning the empty bar space beside
|
||||
the logo into a hidden "go home" hit target. Pin it to its content so
|
||||
only the logo itself navigates. */
|
||||
justify-self: start;
|
||||
transition: filter var(--r-motion-med) var(--r-motion-ease-out);
|
||||
}
|
||||
|
||||
@@ -69,9 +69,6 @@ const counterLabel = computed(() => {
|
||||
>
|
||||
<span class="r-scan-indicator__row">
|
||||
<RSpinner size="14" color="primary" />
|
||||
<!-- On phones the pill tightens: the "Scanning" word is dropped
|
||||
for the compact radar glyph (same icon the user menu uses
|
||||
for Scan), keeping the counter legible in the narrow navbar. -->
|
||||
<span class="r-scan-indicator__label">
|
||||
{{ t("scan.scanning") }}
|
||||
</span>
|
||||
|
||||
@@ -31,9 +31,6 @@ interface Props {
|
||||
iconEmpty: string;
|
||||
accent: string;
|
||||
disabled?: boolean;
|
||||
/** Trigger height — mirrors GameActionBtn's ladder so the metric pills
|
||||
* sit at the exact same height as the action ribbon (`large` = 44px,
|
||||
* `default` = 40px). */
|
||||
size?: "default" | "large";
|
||||
}
|
||||
|
||||
@@ -192,9 +189,6 @@ function clear() {
|
||||
.r-v2-metric-btn :deep(.mdi) {
|
||||
font-size: 20px;
|
||||
}
|
||||
/* Size ladder — height-matched to GameActionBtn so the metrics line up with
|
||||
the action ribbon. `--large` (44px) is the base above; `--default` (40px)
|
||||
is the phone size the ribbon shrinks to. */
|
||||
.r-v2-metric-btn--default {
|
||||
height: 40px;
|
||||
padding: 0 14px;
|
||||
|
||||
Reference in New Issue
Block a user