mirror of
https://github.com/ritz078/transform.git
synced 2026-11-21 00:32:56 +03:00
fixes
This commit is contained in:
1 parent
221f41486b
commit
a263f3387a
4 files changed
+11
-5
No files matched your search
@@ -77,7 +77,11 @@ export const SvgConverter: React.FunctionComponent<SvgConverterProps> = ({
|
||||
<Pane display="flex" flexDirection="row" flex={1}>
|
||||
<Pane display={"flex"} flex={1} position="relative">
|
||||
<img
|
||||
style={{ flex: 1, width: "100%" }}
|
||||
style={{
|
||||
flex: 1,
|
||||
width: "100%",
|
||||
borderRight: "1px solid #eee"
|
||||
}}
|
||||
src={svgToDataUrl(value)}
|
||||
alt="original"
|
||||
/>
|
||||
@@ -97,7 +101,6 @@ export const SvgConverter: React.FunctionComponent<SvgConverterProps> = ({
|
||||
<img
|
||||
style={{
|
||||
flex: 1,
|
||||
borderLeft: "1px solid #eee",
|
||||
width: "100%"
|
||||
}}
|
||||
src={svgToDataUrl(optimizedValue)}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"version": 2,
|
||||
"name": "transform",
|
||||
"alias": "https://transform.tools",
|
||||
"alias": "transform.tools",
|
||||
"builds": [{ "src": "package.json", "use": "@now/static-build" }],
|
||||
"routes": [
|
||||
{
|
||||
|
||||
+3
-1
@@ -85,7 +85,9 @@ export default function App({ Component, pageProps }) {
|
||||
|
||||
return (
|
||||
<Container>
|
||||
<title>{activeRoute && activeRoute.searchTerm}</title>
|
||||
<title>
|
||||
{activeRoute && (activeRoute.title || activeRoute.searchTerm)}
|
||||
</title>
|
||||
<meta name="description" content={activeRoute && activeRoute.desc} />
|
||||
<Pane
|
||||
display="flex"
|
||||
|
||||
+2
-1
@@ -10,7 +10,8 @@ export const categorizedRoutes = [
|
||||
label: "to JSX",
|
||||
path: "/",
|
||||
packageName: "@svgr/core",
|
||||
packageUrl: "https://github.com/smooth-code/svgr"
|
||||
packageUrl: "https://github.com/smooth-code/svgr",
|
||||
title: "Transform | A polyglot web converter."
|
||||
},
|
||||
{
|
||||
label: "to React Native",
|
||||
|
||||
Reference in new issue
Block a user