Skip to content

Feature: avoid scroll bar and show full screen #112

@arnowelzel

Description

@arnowelzel

I use CustomCSS to change some UI elements in my Nextcloud instance. One thing I also added, is using a fix to avoid a scrollbar in the Draw.io application frame and to use Draw.io fullscreen - similar to the Nextcloud text editor, PDF viewer or Nextcloud Office. The CSS rules for this are as following:

/* Draw.io: Fix view so it won't show an additional scroll bar */

.app-drawio > #app-content {
  overflow:hidden;
}

/* Draw.io: Fill screen without header */

#content.app-drawio {
  margin: 0;
  height: 100%;
  padding-block-end: 0 !important;
  z-index: 2147483647;
}

I am not sure, if this can be integrated to the app itself. But this would be an easy improvement without using a modal application frame.

For Nextcloud 31, the height needs to be different (this is not needed for Nextcloud 32, there you can just use 100%):

height: calc(var(--header-height) + 100%)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions