gptsite / gradio /templates /frontend /assets /Empty.ae5c2506.js.map
microhan's picture
update module gradio
d4576ce
raw
history blame
1.05 kB
{"version":3,"file":"Empty.ae5c2506.js","sources":["../../../../ui/packages/atoms/src/Empty.svelte"],"sourcesContent":["<script lang=\"ts\">\n\texport let size: \"small\" | \"large\" = \"small\";\n\texport let unpadded_box = false;\n</script>\n\n<div\n\tclass=\"empty\"\n\tclass:small={size === \"small\"}\n\tclass:large={size === \"large\"}\n\tclass:unpadded_box\n>\n\t<div class=\"icon\">\n\t\t<slot />\n\t</div>\n</div>\n\n<style>\n\t.empty {\n\t\tdisplay: flex;\n\t\tjustify-content: center;\n\t\talign-items: center;\n\t\theight: var(--size-full);\n\t}\n\n\t.icon {\n\t\topacity: 0.5;\n\t\theight: var(--size-5);\n\t\tcolor: var(--body-text-color);\n\t}\n\n\t.small {\n\t\theight: calc(var(--size-32) - 20px);\n\t}\n\n\t.large {\n\t\theight: calc(var(--size-64) - 20px);\n\t}\n\n\t.unpadded_box.small {\n\t\tmin-height: var(--size-32);\n\t}\n\n\t.unpadded_box.large {\n\t\tmin-height: var(--size-64);\n\t}\n</style>\n"],"names":[],"mappings":"iYAOc,OAAS,OAAO,cAChB,OAAS,OAAO,mCAH9B,SAMC,uHAJa,OAAS,OAAO,mBAChB,OAAS,OAAO,oJAPlB,OAA0B,YAC1B,eAAe"}