Summary Files Commits Branches @commit @diff @stats
path: root / dist / spectre.css
diff options
context:
space:
mode:
Commit8e1d26ff11e600eb93dd1cd3cd01aaf287c100cf (patch)
Author
 Yan Zhu <picturepan2@hotmail.com>
2016-09-16 15:55:31 +0800
Committer
 Yan Zhu <picturepan2@hotmail.com>
2016-09-16 15:55:31 +0800
Files42d891d0b6c7e3599fb1471c42fb4568099c6848 /dist/spectre.css
Spectre-Dark-Gruvbox-8e1d26ff11e600eb93dd1cd3cd01aaf287c100cf.tar
Spectre-Dark-Gruvbox-8e1d26ff11e600eb93dd1cd3cd01aaf287c100cf.tar.gz
Spectre-Dark-Gruvbox-8e1d26ff11e600eb93dd1cd3cd01aaf287c100cf.zip
Parent8d21e531254a1b2c5069b9d92b09f0c690a3ccd5 (diff)
Show initals when avatar image is unavailable or not fully loaded
1 files changed, 4 insertions, 1 deletions
-rw-r--r--dist/spectre.css5
diff --git a/dist/spectre.css b/dist/spectre.css
index 18892b9..3a96a4b 100644
--- a/dist/spectre.css
+++ b/dist/spectre.css
@@ -1349,7 +1349,9 @@ textarea.form-input {
.avatar img {
border-radius: 50%;
height: 100%;
+ position: relative;
width: 100%;
+ z-index: 99;
}
.avatar .avatar-icon {
background: #fff;
@@ -1369,6 +1371,7 @@ textarea.form-input {
-webkit-transform: translate(-50%, -50%);
-ms-transform: translate(-50%, -50%);
transform: translate(-50%, -50%);
+ z-index: 0;
}
@-webkit-keyframes loading {
0% {
@@ -2210,4 +2213,4 @@ textarea.form-input {
position: absolute;
top: 50%;
width: 1.6rem;
-}
+} \ No newline at end of file