Skip to content

Commit

Permalink
Merge PR #688 into 14.0
Browse files Browse the repository at this point in the history
Signed-off-by jbaudoux
  • Loading branch information
OCA-git-bot committed Nov 15, 2023
2 parents 0d0507f + 8e21cdc commit 2793b3d
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -241,6 +241,8 @@ const DeliveryShipment = {
key_title: "name",
on_title_action: action,
title_action_icon: "mdi-upload",
// This helps having the transporter package fit in one line
title_class: "v-card__title-smaller",
};
},
pack_color: function (pack) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Vue.component("item-detail-card", {
template: `
<div :class="wrapper_klass">
<v-card :color="card_color" tile :class="{'theme--dark': opts.theme_dark, 'main': opts.main, 'no-outline': opts.no_outline}" v-if="!_.isEmpty(record)">
<v-card-title v-if="!opts.no_title">
<v-card-title v-if="!opts.no_title" :class="opts.title_class">
<slot name="title">
<v-icon v-if="opts.title_icon" v-text="opts.title_icon" class="mr-2" />
<span v-text="_.result(record, opts.key_title)" />
Expand Down
4 changes: 4 additions & 0 deletions shopfloor_mobile_base/static/wms/src/css/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 2793b3d

Please sign in to comment.