svg.escobar.life

Unnamed repository; edit this file 'description' to name the repository.

commit 5965324fa08a26a011da64a0aa71c8e1951c0a64
parent 690c6672c906fe48f6f15c3da0e227cbdc99f1a0
Author: Pablo Emilio Escobar Gaviria <pablo-escobar@riseup.net>
Date:   Sat, 26 Dec 2020 05:56:02 +1000

Minor tweaks to the UI

Added a <title> tag to the example picture

Removed margins from the error icon

Diffstat:
Massets/example.svg | 1+
Mcss/svg.css | 6++----
2 files changed, 3 insertions(+), 4 deletions(-)
diff --git a/assets/example.svg b/assets/example.svg
@@ -1,6 +1,7 @@
 <?xml version="1.0" encoding="UTF-8" standalone="no"?>
 <!-- Edit the source code of the image and preview the results -->
 <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 300 97.538">
+  <title>A simple SVG markup editor</title>
   <path fill="#0d1928" 
         d="M42.649
            0c-.68-.009-1.51.092-2.485.307-2.749.634-2.854.74-3.488
diff --git a/css/svg.css b/css/svg.css
@@ -96,10 +96,8 @@ body {
 }
 
 #container #display img#error {
-    width: calc(100% - 2em);
-    height: calc(100% - 2em);
-
-    margin: 1em;
+    width: 100%;
+    height: 100%;
 }
 
 #container #display img#error, #container.error #display img#image {