document-row refactoring
This commit is contained in:
1 parent
1a006f5b3f
commit
4f1ac79c5f
3 files changed
+38
-42
No files matched your search
@@ -0,0 +1,37 @@
|
||||
.document-row {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
padding: 0;
|
||||
margin-bottom: var(--size-m);
|
||||
}
|
||||
|
||||
.document-row__image {
|
||||
min-width: 4em;
|
||||
width: 4em;
|
||||
height: 4em;
|
||||
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: flex-start;
|
||||
}
|
||||
.document-row__image img {
|
||||
max-width: 100%;
|
||||
max-height: 100%;
|
||||
box-shadow: var(--shadow);
|
||||
}
|
||||
|
||||
.document-row__image--big {
|
||||
max-width: 20em;
|
||||
}
|
||||
|
||||
.document-row__file {
|
||||
margin-left: var(--size-m);
|
||||
flex-grow: 10;
|
||||
}
|
||||
|
||||
.document-row__file-info {
|
||||
width: 25%;
|
||||
flex-grow: 1;
|
||||
font-size: var(--font-size-second);
|
||||
text-align: right;
|
||||
}
|
||||
Reference in new issue
Block a user