From 8abeb09ed2c436c0110ae6ba2f9948c7df96fe15 Mon Sep 17 00:00:00 2001 From: Thierry Ducrest Date: Wed, 26 Jul 2023 14:48:56 +0200 Subject: [PATCH] sf_mobile_base: improve detail card title cusomization Allows to set a class on the detail card title. And one is added to the css to have smaller font. --- .../static/wms/src/components/detail/detail_card.js | 2 +- shopfloor_mobile_base/static/wms/src/css/main.css | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/shopfloor_mobile_base/static/wms/src/components/detail/detail_card.js b/shopfloor_mobile_base/static/wms/src/components/detail/detail_card.js index 711c87edafd..f771d0bb123 100644 --- a/shopfloor_mobile_base/static/wms/src/components/detail/detail_card.js +++ b/shopfloor_mobile_base/static/wms/src/components/detail/detail_card.js @@ -12,7 +12,7 @@ Vue.component("item-detail-card", { template: `
- + diff --git a/shopfloor_mobile_base/static/wms/src/css/main.css b/shopfloor_mobile_base/static/wms/src/css/main.css index 1dd3a41342c..b97b5293861 100644 --- a/shopfloor_mobile_base/static/wms/src/css/main.css +++ b/shopfloor_mobile_base/static/wms/src/css/main.css @@ -457,6 +457,10 @@ main.v-content > .v-content__wrap > .header .container { line-height: 1.1rem; } +.v-card .v-card__title-smaller { + font-size: 0.9rem; +} + /* TODO: likely to be applied to all */ .list .v-list-item { border-bottom: 1px solid #ccc;