Skip to content

Commit

Permalink
fix css (#9427)
Browse files Browse the repository at this point in the history
* fix css

* add changeset

* format

---------

Co-authored-by: gradio-pr-bot <[email protected]>
Co-authored-by: Dawood <[email protected]>
  • Loading branch information
3 people authored Sep 24, 2024
1 parent 74f3b9d commit b672deb
Show file tree
Hide file tree
Showing 3 changed files with 179 additions and 170 deletions.
5 changes: 5 additions & 0 deletions .changeset/old-items-sink.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@self/app": minor
---

feat:fix css
336 changes: 168 additions & 168 deletions .changeset/pre.json
Original file line number Diff line number Diff line change
@@ -1,170 +1,170 @@
{
"mode": "pre",
"tag": "beta",
"initialVersions": {
"@gradio/client": "1.3.0",
"gradio_client": "1.1.0",
"gradio": "4.38.1",
"@gradio/cdn-test": "0.0.1",
"@gradio/spaces-test": "0.0.1",
"website": "0.34.0",
"@gradio/accordion": "0.3.18",
"@gradio/annotatedimage": "0.6.13",
"@gradio/app": "1.38.1",
"@gradio/atoms": "0.7.6",
"@gradio/audio": "0.12.2",
"@gradio/box": "0.1.20",
"@gradio/button": "0.2.46",
"@gradio/chatbot": "0.12.1",
"@gradio/checkbox": "0.3.8",
"@gradio/checkboxgroup": "0.5.8",
"@gradio/code": "0.7.0",
"@gradio/colorpicker": "0.3.8",
"@gradio/column": "0.1.2",
"@gradio/dataframe": "0.8.13",
"@gradio/dataset": "0.2.0",
"@gradio/datetime": "0.0.2",
"@gradio/downloadbutton": "0.1.23",
"@gradio/dropdown": "0.7.8",
"@gradio/fallback": "0.3.8",
"@gradio/file": "0.8.5",
"@gradio/fileexplorer": "0.4.14",
"@gradio/form": "0.1.20",
"@gradio/gallery": "0.11.2",
"@gradio/group": "0.1.1",
"@gradio/highlightedtext": "0.7.2",
"@gradio/html": "0.3.1",
"@gradio/icons": "0.6.0",
"@gradio/image": "0.12.2",
"@gradio/imageeditor": "0.7.13",
"@gradio/json": "0.2.8",
"@gradio/label": "0.3.8",
"@gradio/lite": "4.38.1",
"@gradio/markdown": "0.8.1",
"@gradio/model3d": "0.11.0",
"@gradio/multimodaltextbox": "0.5.2",
"@gradio/number": "0.4.8",
"@gradio/paramviewer": "0.4.17",
"@gradio/plot": "0.6.0",
"@gradio/preview": "0.10.1",
"gradio_test": "0.5.0",
"@gradio/radio": "0.5.8",
"@gradio/row": "0.1.3",
"@gradio/simpledropdown": "0.2.8",
"@gradio/simpleimage": "0.6.2",
"@gradio/simpletextbox": "0.2.8",
"@gradio/slider": "0.4.8",
"@gradio/state": "0.1.0",
"@gradio/statustracker": "0.7.1",
"@gradio/storybook": "0.6.0",
"@gradio/tabitem": "0.2.12",
"@gradio/tabs": "0.2.11",
"@gradio/textbox": "0.6.7",
"@gradio/theme": "0.2.3",
"@gradio/timer": "0.3.0",
"@gradio/tooltip": "0.1.0",
"@gradio/tootils": "0.6.0",
"@gradio/upload": "0.11.5",
"@gradio/uploadbutton": "0.6.14",
"@gradio/utils": "0.5.1",
"@gradio/video": "0.9.2",
"@gradio/wasm": "0.11.0",
"@self/cdn-test": "0.0.1",
"@self/spaces-test": "0.0.1",
"@self/app": "1.40.0",
"@self/build": "0.0.2",
"@self/component-test": "0.1.0",
"@gradio/core": "0.0.2",
"@gradio/nativeplot": "0.3.1",
"@self/spa": "0.0.2",
"@self/storybook": "0.6.1",
"@self/tootils": "0.6.4"
},
"changesets": [
"beige-houses-shine",
"breezy-olives-wonder",
"busy-jokes-sit",
"busy-tools-chew",
"calm-jobs-hope",
"calm-monkeys-argue",
"calm-planets-send",
"chatty-houses-do",
"chilly-places-sniff",
"chubby-hairs-beam",
"cold-lies-mate",
"cruel-heads-hunt",
"cuddly-queens-melt",
"cute-rules-write",
"cyan-spies-check",
"dark-cougars-fold",
"dark-moose-shine",
"deep-bananas-switch",
"deep-memes-cheat",
"deep-ways-wink",
"dirty-pugs-hunt",
"dry-frogs-argue",
"dull-plants-trade",
"easy-files-serve",
"every-breads-float",
"every-candies-sell",
"every-geese-shave",
"fancy-pianos-dig",
"few-clowns-notice",
"floppy-keys-heal",
"floppy-nails-grab",
"gold-bats-return",
"green-pigs-wonder",
"green-wasps-invent",
"huge-corners-tease",
"hungry-dragons-drum",
"hungry-tips-sin",
"khaki-ducks-stare",
"legal-masks-pay",
"light-bats-arrive",
"long-donkeys-hang",
"lucky-hotels-sort",
"metal-nights-march",
"modern-baboons-swim",
"nasty-moments-mix",
"nasty-zebras-cheat",
"nice-badgers-admire",
"nice-rats-flash",
"nine-hotels-juggle",
"open-chefs-say",
"pink-shirts-fry",
"polite-bugs-vanish",
"pretty-hairs-rest",
"proud-memes-fold",
"public-baboons-dig",
"public-webs-melt",
"puny-bats-smell",
"rotten-bears-bathe",
"sad-chicken-sleep",
"sad-steaks-shout",
"salty-vans-behave",
"seven-deer-occur",
"sharp-bikes-sleep",
"shy-foxes-flow",
"six-bobcats-cry",
"social-lizards-tickle",
"solid-chicken-love",
"some-clocks-think",
"strong-stars-count",
"stupid-eggs-sing",
"tall-moose-yawn",
"thick-geese-divide",
"tired-moons-tell",
"tough-rooms-flash",
"true-pigs-build",
"warm-lemons-mate",
"weak-glasses-enter",
"wet-memes-smash",
"wicked-swans-wink",
"wide-dodos-peel",
"witty-rice-fix",
"witty-worlds-grin",
"young-candles-stare",
"young-ears-vanish",
"yummy-weeks-learn"
]
"mode": "pre",
"tag": "beta",
"initialVersions": {
"@gradio/client": "1.3.0",
"gradio_client": "1.1.0",
"gradio": "4.38.1",
"@gradio/cdn-test": "0.0.1",
"@gradio/spaces-test": "0.0.1",
"website": "0.34.0",
"@gradio/accordion": "0.3.18",
"@gradio/annotatedimage": "0.6.13",
"@gradio/app": "1.38.1",
"@gradio/atoms": "0.7.6",
"@gradio/audio": "0.12.2",
"@gradio/box": "0.1.20",
"@gradio/button": "0.2.46",
"@gradio/chatbot": "0.12.1",
"@gradio/checkbox": "0.3.8",
"@gradio/checkboxgroup": "0.5.8",
"@gradio/code": "0.7.0",
"@gradio/colorpicker": "0.3.8",
"@gradio/column": "0.1.2",
"@gradio/dataframe": "0.8.13",
"@gradio/dataset": "0.2.0",
"@gradio/datetime": "0.0.2",
"@gradio/downloadbutton": "0.1.23",
"@gradio/dropdown": "0.7.8",
"@gradio/fallback": "0.3.8",
"@gradio/file": "0.8.5",
"@gradio/fileexplorer": "0.4.14",
"@gradio/form": "0.1.20",
"@gradio/gallery": "0.11.2",
"@gradio/group": "0.1.1",
"@gradio/highlightedtext": "0.7.2",
"@gradio/html": "0.3.1",
"@gradio/icons": "0.6.0",
"@gradio/image": "0.12.2",
"@gradio/imageeditor": "0.7.13",
"@gradio/json": "0.2.8",
"@gradio/label": "0.3.8",
"@gradio/lite": "4.38.1",
"@gradio/markdown": "0.8.1",
"@gradio/model3d": "0.11.0",
"@gradio/multimodaltextbox": "0.5.2",
"@gradio/number": "0.4.8",
"@gradio/paramviewer": "0.4.17",
"@gradio/plot": "0.6.0",
"@gradio/preview": "0.10.1",
"gradio_test": "0.5.0",
"@gradio/radio": "0.5.8",
"@gradio/row": "0.1.3",
"@gradio/simpledropdown": "0.2.8",
"@gradio/simpleimage": "0.6.2",
"@gradio/simpletextbox": "0.2.8",
"@gradio/slider": "0.4.8",
"@gradio/state": "0.1.0",
"@gradio/statustracker": "0.7.1",
"@gradio/storybook": "0.6.0",
"@gradio/tabitem": "0.2.12",
"@gradio/tabs": "0.2.11",
"@gradio/textbox": "0.6.7",
"@gradio/theme": "0.2.3",
"@gradio/timer": "0.3.0",
"@gradio/tooltip": "0.1.0",
"@gradio/tootils": "0.6.0",
"@gradio/upload": "0.11.5",
"@gradio/uploadbutton": "0.6.14",
"@gradio/utils": "0.5.1",
"@gradio/video": "0.9.2",
"@gradio/wasm": "0.11.0",
"@self/cdn-test": "0.0.1",
"@self/spaces-test": "0.0.1",
"@self/app": "1.40.0",
"@self/build": "0.0.2",
"@self/component-test": "0.1.0",
"@gradio/core": "0.0.2",
"@gradio/nativeplot": "0.3.1",
"@self/spa": "0.0.2",
"@self/storybook": "0.6.1",
"@self/tootils": "0.6.4"
},
"changesets": [
"beige-houses-shine",
"breezy-olives-wonder",
"busy-jokes-sit",
"busy-tools-chew",
"calm-jobs-hope",
"calm-monkeys-argue",
"calm-planets-send",
"chatty-houses-do",
"chilly-places-sniff",
"chubby-hairs-beam",
"cold-lies-mate",
"cruel-heads-hunt",
"cuddly-queens-melt",
"cute-rules-write",
"cyan-spies-check",
"dark-cougars-fold",
"dark-moose-shine",
"deep-bananas-switch",
"deep-memes-cheat",
"deep-ways-wink",
"dirty-pugs-hunt",
"dry-frogs-argue",
"dull-plants-trade",
"easy-files-serve",
"every-breads-float",
"every-candies-sell",
"every-geese-shave",
"fancy-pianos-dig",
"few-clowns-notice",
"floppy-keys-heal",
"floppy-nails-grab",
"gold-bats-return",
"green-pigs-wonder",
"green-wasps-invent",
"huge-corners-tease",
"hungry-dragons-drum",
"hungry-tips-sin",
"khaki-ducks-stare",
"legal-masks-pay",
"light-bats-arrive",
"long-donkeys-hang",
"lucky-hotels-sort",
"metal-nights-march",
"modern-baboons-swim",
"nasty-moments-mix",
"nasty-zebras-cheat",
"nice-badgers-admire",
"nice-rats-flash",
"nine-hotels-juggle",
"open-chefs-say",
"pink-shirts-fry",
"polite-bugs-vanish",
"pretty-hairs-rest",
"proud-memes-fold",
"public-baboons-dig",
"public-webs-melt",
"puny-bats-smell",
"rotten-bears-bathe",
"sad-chicken-sleep",
"sad-steaks-shout",
"salty-vans-behave",
"seven-deer-occur",
"sharp-bikes-sleep",
"shy-foxes-flow",
"six-bobcats-cry",
"social-lizards-tickle",
"solid-chicken-love",
"some-clocks-think",
"strong-stars-count",
"stupid-eggs-sing",
"tall-moose-yawn",
"thick-geese-divide",
"tired-moons-tell",
"tough-rooms-flash",
"true-pigs-build",
"warm-lemons-mate",
"weak-glasses-enter",
"wet-memes-smash",
"wicked-swans-wink",
"wide-dodos-peel",
"witty-rice-fix",
"witty-worlds-grin",
"young-candles-stare",
"young-ears-vanish",
"yummy-weeks-learn"
]
}
8 changes: 6 additions & 2 deletions js/app/src/routes/+layout.server.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@
// import { type LayoutServerLoad } from "./$types";

import { redirect } from "@sveltejs/kit";
import { dev } from "$app/environment";

export function load({ url }): void {
const { pathname, search } = url;

if (dev && url.pathname.startsWith("/theme")) {
redirect(308, `http://127.0.0.1:7860${pathname}${search}`);
}
if (url.pathname !== "/") {
redirect(308, "/");
}
Expand Down

0 comments on commit b672deb

Please sign in to comment.