Chunter: FileBrowser - replace px with rem (#1582)

Signed-off-by: Ruslan Izhitsky <ruslan.izhitskiy@xored.com>
This commit is contained in:
Ruslan Izhitsky 2022-04-28 16:00:01 +07:00 committed by GitHub
parent 9ef5107ce5
commit c40088fbfe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 7 deletions

View File

@ -96,7 +96,7 @@
<style lang="scss">
.gridCellOverlay {
position: relative;
padding: 4px;
padding: 0.25rem;
}
.gridCell {
@ -104,7 +104,7 @@
height: 100%;
display: flex;
flex-direction: column;
border-radius: 12px;
border-radius: 0.75rem;
justify-content: space-between;
overflow: hidden;
box-shadow: 0 0 0 1px var(--theme-bg-focused-border);
@ -113,7 +113,7 @@
.cellImagePreview {
display: flex;
justify-content: center;
height: 160px;
height: 10rem;
overflow: hidden;
margin: 0 1.5rem;
border-radius: 0.5rem;
@ -125,7 +125,7 @@
display: flex;
justify-content: center;
align-items: center;
height: 160px;
height: 10rem;
}
.img-fit {
@ -137,8 +137,8 @@
.cellInfo {
display: flex;
flex-direction: row;
padding: 12px;
min-height: 36px;
padding: 0.75rem;
height: 4rem;
align-items: center;
.eCellInfoData {

View File

@ -55,7 +55,7 @@
.galleryGrid {
display: grid;
margin: 0 1.5rem;
grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
grid-template-columns: repeat(auto-fill, minmax(14rem, 1fr));
}
.attachmentCell {