Compare commits

...

2 Commits

Author SHA1 Message Date
Nicolas Mowen
281c461647
Add support for Frigate+ input data type (#19799) 2025-08-27 06:27:08 -06:00
Josh Hawkins
667c302a7d
Allow scrolling on languages menu on mobile devices (#19797) 2025-08-27 05:44:10 -06:00
2 changed files with 6 additions and 1 deletions

View File

@ -158,6 +158,9 @@ class ModelConfig(BaseModel):
self.input_pixel_format = model_info["pixelFormat"]
self.model_type = model_info["type"]
if model_info.get("inputDataType"):
self.input_dtype = model_info["inputDataType"]
# generate list of attribute labels
self.attributes_map = {
**model_info.get("attributes", DEFAULT_ATTRIBUTE_LABEL_MAP),

View File

@ -332,7 +332,9 @@ export default function GeneralSettings({ className }: GeneralSettingsProps) {
<Portal>
<SubItemContent
className={
isDesktop ? "" : "w-[92%] rounded-lg md:rounded-2xl"
isDesktop
? ""
: "scrollbar-container max-h-[75dvh] w-[92%] overflow-y-scroll rounded-lg md:rounded-2xl"
}
>
<span tabIndex={0} className="sr-only" />