Add some minor styling

pull/5212/head
Oliver Günther 8 years ago
parent 564cf94d18
commit 928562966a
No known key found for this signature in database
GPG Key ID: 88872239EB414F99
  1. 15
      app/assets/stylesheets/content/work_packages/_work_packages_show_view_overwrite.scss
  2. 4
      frontend/app/components/work-packages/wp-subject/wp-subject.directive.html
  3. 1
      frontend/app/components/wp-edit/field-types/wp-edit-select-field.directive.html
  4. 1
      frontend/app/components/wp-edit/field-types/wp-edit-text-field.directive.html

@ -241,15 +241,18 @@ body.controller-work_packages.action-show {
padding-bottom: 0;
}
.work-packages--details--subject,
.work-packages--type-selector,
.work-packages--subject-element,
.work-packages--details--subject .wp-inline-edit--field {
font-size: 1.5rem;
font-weight: bold;
line-height: 34px;
}
.work-packages--details--subject .wp-inline-edit--field {
.work-packages--type-selector .wp-inline-edit--field {
line-height: 34px;
}
.work-packages--subject-element .wp-inline-edit--field {
height: auto;
padding: 0;
}
@ -257,15 +260,13 @@ body.controller-work_packages.action-show {
}
.work-packages--split-view {
.work-packages--details--subject,
.work-packages--type-selector,
.work-packages--subject-element,
.work-packages--details--subject .wp-inline-edit--field {
font-size: 1.125rem;
font-weight: bold;
}
.work-packages--details--subject,
.work-packages--type-selector {
.work-packages--subject-element {
line-height: 24px;
.wp-inline-edit--field {

@ -1,12 +1,12 @@
<div ng-if="$ctrl.workPackage" class="work-packages--subject-type-row">
<div class="work-packages--type-selector"
<div class="work-packages--type-selector work-packages--subject-element"
wp-edit-field="'type'"
wp-edit-field-wrapper-classes="'-no-label'">
</div>
<div
wp-edit-field="'subject'"
wp-edit-field-wrapper-classes="'-no-label'"
class="work-packages--details--subject">
class="work-packages--details--subject work-packages--subject-element">
</div>
</div>

@ -5,7 +5,6 @@
ng-change="vm.handleUserSubmit()"
ng-required="vm.field.required"
ng-focus="vm.handleUserFocus()"
ng-blur="vm.handleUserBlur()"
ng-disabled="vm.workPackage.inFlight"
focus="vm.shouldFocus()"
focus-priority="vm.shouldFocus()"

@ -4,7 +4,6 @@
ng-model="vm.workPackage[vm.fieldName]"
ng-required="vm.field.required"
ng-focus="vm.handleUserFocus()"
ng-blur="vm.handleUserBlur()"
ng-disabled="vm.workPackage.inFlight"
ng-keydown="vm.handleUserSubmitOnEnter($event)"
focus="vm.shouldFocus()"

Loading…
Cancel
Save