From c29698dffac769077ab7c7869569a902979ee3d7 Mon Sep 17 00:00:00 2001 From: Ramires Viana <59319979+ramiresviana@users.noreply.github.com> Date: Thu, 11 Nov 2021 12:54:30 +0000 Subject: [PATCH 1/2] fix: relative font sizes --- frontend/src/css/fonts.css | 4 ++++ frontend/src/css/styles.css | 6 +++--- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/frontend/src/css/fonts.css b/frontend/src/css/fonts.css index b986f291..cd1474f7 100644 --- a/frontend/src/css/fonts.css +++ b/frontend/src/css/fonts.css @@ -167,3 +167,7 @@ } @import "~material-design-icons/iconfont/material-icons.css"; + +.material-icons { + font-size: 1.5rem; +} \ No newline at end of file diff --git a/frontend/src/css/styles.css b/frontend/src/css/styles.css index 9931bcf1..5bcfe703 100644 --- a/frontend/src/css/styles.css +++ b/frontend/src/css/styles.css @@ -314,11 +314,11 @@ main .spinner .bounce2 { } #editor-container .breadcrumbs span { - font-size: 12px; + font-size: .75rem; } #editor-container .breadcrumbs i { - font-size: 16px; + font-size: 1rem; } /* * * * * * * * * * * * * * * * @@ -334,7 +334,7 @@ main .spinner .bounce2 { background: rgba(0, 0, 0, 0.05); border: 1px solid rgba(0,0,0,0.1); box-shadow: 0 0 0 0; - font-size: 14px; + font-size: 1rem; } /* * * * * * * * * * * * * * * * From e08239781f61e7bb25d9b8c5c6cce90f34621a76 Mon Sep 17 00:00:00 2001 From: Ramires Viana <59319979+ramiresviana@users.noreply.github.com> Date: Thu, 11 Nov 2021 13:06:04 +0000 Subject: [PATCH 2/2] fix: empty file listing on share --- frontend/src/components/files/ListingItem.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/components/files/ListingItem.vue b/frontend/src/components/files/ListingItem.vue index 642e5454..bb374ec4 100644 --- a/frontend/src/components/files/ListingItem.vue +++ b/frontend/src/components/files/ListingItem.vue @@ -106,7 +106,7 @@ export default { return filesize(this.size); }, humanTime: function () { - if (this.user.dateFormat) { + if (this.readOnly == undefined && this.user.dateFormat) { return moment(this.modified).format("L LT"); } return moment(this.modified).fromNow();