Bladeren bron

Remove duplicated CSS properties

Bruno Perel 7 jaren geleden
bovenliggende
commit
81ee1228cf
3 gewijzigde bestanden met toevoegingen van 0 en 9 verwijderingen
  1. 0 5
      src/scss/_dashboard.scss
  2. 0 1
      website/src/examples/dragdrop/app.css
  3. 0 3
      website/themes/uppy/source/css/_common.scss

+ 0 - 5
src/scss/_dashboard.scss

@@ -120,7 +120,6 @@
   font-size: 15px;
   line-height: 30px;
   font-weight: 400;
-  text-align: center;
   margin: 0;
   padding: 0;
   text-align: center;
@@ -232,7 +231,6 @@
   left: 0;
   right: 0;
   text-align: center;
-  margin: 0;
   font-size: 14px;
   line-height: 40px;
   font-weight: normal;
@@ -578,7 +576,6 @@
   margin: 0;
   padding: 0;
   max-height: 28px;
-  overflow: hidden;
   margin-bottom: 3px;
   text-overflow: ellipsis;
   white-space: nowrap;
@@ -1069,8 +1066,6 @@
   font-size: 0;
   border: 0;
   padding: 0;
-  margin: 0;
-  margin-bottom: 15px;
   max-width: 450px;
   margin: auto;
   margin-bottom: 15px;

+ 0 - 1
website/src/examples/dragdrop/app.css

@@ -12,7 +12,6 @@
   font-size: 12px;
   text-transform: uppercase;
   letter-spacing: 1px;
-  border: 0;
   border: 1px solid gray;
   background: none;
   cursor: pointer;

+ 0 - 3
website/themes/uppy/source/css/_common.scss

@@ -78,7 +78,6 @@ a.button {
 .highlight {
   // overflow-x: auto;
   position: relative;
-  padding: 0;
   background-color: $color-codebg;
   padding: .6em .6em;
   line-height: 1.1;
@@ -234,7 +233,6 @@ a.button {
   text-align: center;
 
   @media #{$screen-medium} {
-    position: static;
     height: auto;
     padding: 10px 60px;
     box-shadow: none;
@@ -301,7 +299,6 @@ a.button {
     &:focus { border-color: $color-primary; }
 
     @media #{$screen-medium} {
-      width: auto;
       width: 200px;
       margin-bottom: 0;
     }