Let only custom action button wrap to new line not the info row

pull/6884/head
Henriette Dinger 6 years ago
parent a4caed05ac
commit 53e8ca319d
  1. 16
      app/assets/stylesheets/content/work_packages/single_view/_single_view.sass
  2. 2
      config/locales/js-en.yml

@ -274,20 +274,8 @@ i
&.-wrapped
flex-wrap: wrap
.work-packages--info-row
order: -1
flex-basis: 100%
margin-bottom: 0.5rem
wp-status-button
// In case that there is no attribute help text, the status button needs to increase.
// This is a heuristic based on the current DOM structure.
&:nth-last-child(3)
flex-grow: 2
attribute-help-text
// Take care that the help text is next to the button and the action buttons are still at the right side
flex-grow: 2
margin-bottom: 0.5rem
.work-packages--info-row,
attribute-help-text,
wp-custom-action
margin-bottom: 0.5rem

@ -416,7 +416,7 @@ en:
children_headline: "Children"
relation_buttons:
set_parent: "Set parent work package"
set_parent: "Set parent"
change_parent: "Change parent"
remove_parent: "Remove parent"
group_by_wp_type: "Group by work package type"

Loading…
Cancel
Save