0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-10 23:36:14 -05:00

Updated file upload frontend styles

This commit is contained in:
Peter Zimon 2021-12-15 17:44:37 +01:00
parent 3aa60e1e00
commit 4353763de1

View file

@ -4,7 +4,7 @@
.kg-file-card a.kg-file-card-container { .kg-file-card a.kg-file-card-container {
display: flex; display: flex;
align-items: center; align-items: stretch;
justify-content: space-between; justify-content: space-between;
color: inherit; color: inherit;
padding: 6px; padding: 6px;
@ -25,6 +25,7 @@
flex-direction: column; flex-direction: column;
justify-content: space-between; justify-content: space-between;
margin: 4px 8px; margin: 4px 8px;
width: 100%
} }
.kg-file-card-title { .kg-file-card-title {
@ -35,14 +36,18 @@
.kg-file-card-caption { .kg-file-card-caption {
font-size: 0.95em; font-size: 0.95em;
line-height: 1.5em; line-height: 1.3em;
opacity: 0.6; opacity: 0.6;
} }
.kg-file-card-title + .kg-file-card-caption {
margin-top: -6px;
}
.kg-file-card-metadata { .kg-file-card-metadata {
display: inline; display: inline;
font-size: 0.825em; font-size: 0.825em;
line-height: 1.5em; line-height: 1.3em;
margin-top: 2px; margin-top: 2px;
} }
@ -108,6 +113,7 @@
} }
.kg-file-card-small a.kg-file-card-container { .kg-file-card-small a.kg-file-card-container {
align-items: center;
min-height: 52px; min-height: 52px;
} }