diff --git a/pages/_app.tsx b/pages/_app.tsx index b44f2e92..85f79345 100644 --- a/pages/_app.tsx +++ b/pages/_app.tsx @@ -1,4 +1,5 @@ import 'src/style.css' +import 'src/style/document-row.css' import 'src/style/content.css' import 'src/style/article.css' import 'src/style/marker/marker-table.css' diff --git a/src/style/components/document-row.scss b/src/style/components/document-row.scss deleted file mode 100644 index aac9f193..00000000 --- a/src/style/components/document-row.scss +++ /dev/null @@ -1,42 +0,0 @@ -.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; - //align-items: center; - - img { - max-width: 100%; - max-height: 100%; - box-shadow: var(--shadow); - } -} - -.document-row__image--medium{ -} - -.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; -} diff --git a/src/style/document-row.css b/src/style/document-row.css new file mode 100644 index 00000000..06a80d21 --- /dev/null +++ b/src/style/document-row.css @@ -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; +}