MinJieLiu 7 anni fa
parent
commit
a2c99dcd56
2 ha cambiato i file con 2 aggiunte e 1 eliminazioni
  1. 1 1
      package.json
  2. 1 0
      src/components/FooterWrap.tsx

+ 1 - 1
package.json

@@ -1,6 +1,6 @@
 {
   "name": "react-photo-view",
-  "version": "0.2.0",
+  "version": "0.2.1",
   "description": "React photo preview.",
   "main": "./lib/index",
   "module": "./es/index",

+ 1 - 0
src/components/FooterWrap.tsx

@@ -2,6 +2,7 @@ import React from 'react';
 import styled from 'styled-components';
 
 const FooterWrap = styled.div`
+  box-sizing: border-box;
   position: absolute;
   left: 0;
   bottom: 0;