Remove scroll bar from activity tab when on medium desktop.

I removed some position absolute stuff, that really did look wrong. I have no clue why it was there.

This commit also fixes printing of single WPs with their full activity.

Also updated the docs for VM testing as I needed to connect from my mobile and a http:// was missing.
pull/6711/head
Wieland Lindenthal 6 years ago
parent 469c056b83
commit 69f36469f6
  1. 8
      app/assets/stylesheets/layout/work_packages/_full_view.sass
  2. 6
      app/assets/stylesheets/layout/work_packages/_print.sass
  3. 2
      docs/development/running-tests.md

@ -130,10 +130,7 @@ body.controller-work_packages.full-create
position: relative
.work-packages--panel-inner
position: absolute
display: inline-block
padding: 15px 15px 0px 0px
width: calc(100% - 18px)
padding: 15px 15px 0px 15px
.work-package-details-activities-activity-contents ul.work-package-details-activities-messages
padding-left: 0
@ -176,6 +173,9 @@ body.controller-work_packages.full-create
.work-packages--show-view
// Important for Safari
height: initial
.work-packages-full-view--split-right
overflow: visible
flex-basis: initial !important
@media only screen and (max-width: 679px)
#toolbar

@ -106,13 +106,15 @@
.work-packages-full-view--split-container
display: block
// ------------------Only WP full scren view ------------------
// ------------------Only WP full screen view ------------------
body.controller-work_packages.action-show
// Since there is no toolbar and WP-back button the header can span 100%
.wp-show--header-container
flex-basis: 100%
.work-packages-full-view--split-right
overflow: auto
overflow: visible
flex-basis: initial !important
// decrease padding under subject
.work-packages--show-view > .toolbar-container

@ -269,7 +269,7 @@ you can access both from inside a VM with nat/bridged networking as follows:
npm run serve-public
# Start your openproject server with the CLI proxy configuration set
OPENPROJECT_CLI_PROXY='<your local ip>:4200' ./bin/rails s -b 0.0.0.0 -p 3000
OPENPROJECT_CLI_PROXY='http://<your local ip>:4200' ./bin/rails s -b 0.0.0.0 -p 3000
# Now access your server from http://<your local ip>:3000 with code reloading
```

Loading…
Cancel
Save