From 18cd34bccb93c561c732601c19f1c2433a973d9b Mon Sep 17 00:00:00 2001 From: alexm Date: Mon, 10 Oct 2022 08:57:41 +0200 Subject: [PATCH 1/2] fix(travel_extraCommunity): css --- modules/travel/front/extra-community/index.html | 6 +++--- modules/travel/front/extra-community/style.scss | 7 ++++++- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/modules/travel/front/extra-community/index.html b/modules/travel/front/extra-community/index.html index fbf982b68..8d9b360ea 100644 --- a/modules/travel/front/extra-community/index.html +++ b/modules/travel/front/extra-community/index.html @@ -54,7 +54,7 @@ Packages - + Bl. KG @@ -100,7 +100,7 @@ {{::travel.id}} - + @@ -151,7 +151,7 @@ {{::entry.id}} - + diff --git a/modules/travel/front/extra-community/style.scss b/modules/travel/front/extra-community/style.scss index 4b0dd6b22..b3cc73a6a 100644 --- a/modules/travel/front/extra-community/style.scss +++ b/modules/travel/front/extra-community/style.scss @@ -52,10 +52,15 @@ vn-travel-extra-community { vn-input-number.number { min-width: 100px; - padding-right: 10px; } .number * { text-align: center; } + + .multi-line{ + max-width: 200px; + word-wrap: normal; + white-space: normal; + } } -- 2.40.1 From e497ddd66445f83c9aaa8c37d86f048a59f1df57 Mon Sep 17 00:00:00 2001 From: alexm Date: Mon, 10 Oct 2022 09:21:14 +0200 Subject: [PATCH 2/2] fix: add td-editable --- .../travel/front/extra-community/index.html | 47 +++++++++---------- .../travel/front/extra-community/style.scss | 25 +++++----- 2 files changed, 36 insertions(+), 36 deletions(-) diff --git a/modules/travel/front/extra-community/index.html b/modules/travel/front/extra-community/index.html index 8d9b360ea..5174f8da2 100644 --- a/modules/travel/front/extra-community/index.html +++ b/modules/travel/front/extra-community/index.html @@ -54,7 +54,7 @@ Packages - + Bl. KG @@ -107,31 +107,30 @@ {{::travel.cargoSupplierNickname}} - {{::travel.agencyModeName}} - - - + {{::travel.agencyModeName}} + + + {{travel.ref}} + + + + + {{::travel.stickers}} - - - + + + {{travel.kg}} + + + + + {{::travel.loadedKg}} {{::travel.volumeKg}} diff --git a/modules/travel/front/extra-community/style.scss b/modules/travel/front/extra-community/style.scss index b3cc73a6a..fb64822f9 100644 --- a/modules/travel/front/extra-community/style.scss +++ b/modules/travel/front/extra-community/style.scss @@ -3,7 +3,6 @@ vn-travel-extra-community { .header { margin-bottom: 16px; - font-size: 1.1rem; line-height: 1; padding: 7px; padding-bottom: 7px; @@ -16,6 +15,10 @@ vn-travel-extra-community { overflow: hidden; text-overflow: ellipsis; cursor: pointer; + .multi-line{ + padding-top: 15px; + padding-bottom: 15px; + } } table[vn-droppable] { @@ -46,21 +49,19 @@ vn-travel-extra-community { font-weight: bold; } - .td-editable { - max-width: 200px; - } - - vn-input-number.number { - min-width: 100px; - } - - .number * { - text-align: center; - } .multi-line{ max-width: 200px; word-wrap: normal; white-space: normal; } + + vn-td-editable text { + background-color: transparent; + padding: 0; + border: 0; + border-bottom: 1px dashed $color-active; + border-radius: 0; + color: $color-active + } } -- 2.40.1