Skip to content

Commit 687cbef

Browse files
committed
icon padding adjustment
1 parent 9e4c8ad commit 687cbef

4 files changed

Lines changed: 20 additions & 20 deletions

File tree

dist/css/tableexport.css

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -42,26 +42,26 @@
4242

4343
.xlsx:before, .xls:before, .csv:before, .txt:before {
4444
margin-right: 10px;
45-
padding: 12px;
45+
padding: 11px 15px 12px;
4646
box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
4747
}
4848

4949
.xlsx:before {
50-
background-color: darkgreen;
51-
content: url("../img/xlsx.svg");
50+
content: "";
51+
background: darkgreen url(../img/csv.svg) no-repeat center;
5252
}
5353

5454
.xls:before {
55-
background-color: green;
56-
content: url("../img/xls.svg");
55+
content: "";
56+
background: green url(../img/csv.svg) no-repeat center;
5757
}
5858

5959
.csv:before {
60-
background-color: blue;
61-
content: url("../img/csv.svg");
60+
content: "";
61+
background: blue url(../img/csv.svg) no-repeat center;
6262
}
6363

6464
.txt:before {
65-
background-color: purple;
66-
content: url("../img/txt.svg");
65+
content: "";
66+
background: purple url(../img/csv.svg) no-repeat center;
6767
}

dist/css/tableexport.min.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/stable/css/tableexport.css

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -42,26 +42,26 @@
4242

4343
.xlsx:before, .xls:before, .csv:before, .txt:before {
4444
margin-right: 10px;
45-
padding: 12px;
45+
padding: 11px 15px 12px;
4646
box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
4747
}
4848

4949
.xlsx:before {
50-
background-color: darkgreen;
51-
content: url("../img/xlsx.svg");
50+
content: "";
51+
background: darkgreen url(../img/csv.svg) no-repeat center;
5252
}
5353

5454
.xls:before {
55-
background-color: green;
56-
content: url("../img/xls.svg");
55+
content: "";
56+
background: green url(../img/csv.svg) no-repeat center;
5757
}
5858

5959
.csv:before {
60-
background-color: blue;
61-
content: url("../img/csv.svg");
60+
content: "";
61+
background: blue url(../img/csv.svg) no-repeat center;
6262
}
6363

6464
.txt:before {
65-
background-color: purple;
66-
content: url("../img/txt.svg");
65+
content: "";
66+
background: purple url(../img/csv.svg) no-repeat center;
6767
}

src/stable/css/tableexport.min.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)