diff options
author | ManuelSailer <github.com@manuel-sailer.de> | 2023-04-12 18:46:21 +0200 |
---|---|---|
committer | Benjamin Brahmer <info@b-brahmer.de> | 2023-04-16 10:40:11 +0200 |
commit | bf0ffd792155947dd557c663adb911e5baef2f6a (patch) | |
tree | fd015042b9921c896ad85d85f09530c5cbbf4a79 | |
parent | 4a1d94ace07b79e065fcd525f920919376927847 (diff) |
Fix display issue in NC26+ (#2192)
Signed-off-by: ManuelSailer <github.com@manuel-sailer.de>
-rw-r--r-- | CHANGELOG.md | 1 | ||||
-rw-r--r-- | css/content.css | 2 | ||||
-rw-r--r-- | templates/index.php | 2 |
3 files changed, 3 insertions, 2 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index e581043ed..f2853074f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,7 @@ The format is mostly based on [Keep a Changelog](https://keepachangelog.com/en/1 # Unreleased ## [21.x.x] +- Fix display issue in NC26+ (#2192) ### Changed ### Fixed diff --git a/css/content.css b/css/content.css index ed2e1c4e4..52fa87da9 100644 --- a/css/content.css +++ b/css/content.css @@ -236,7 +236,7 @@ min-height: 43px; } -#app-content.nc-major-version-25 .compact .utils { +#app-content.nc-major-version-gte-25 .compact .utils { top: 0px; } diff --git a/templates/index.php b/templates/index.php index 52f5bd54b..5d8a992ed 100644 --- a/templates/index.php +++ b/templates/index.php @@ -70,7 +70,7 @@ foreach (Plugin::getScripts() as $appName => $fileName) { </div> <div id="app-content" - class="nc-major-version-<?= \OCP\Util::getVersion()[0]; ?>" + class="nc-major-version-<?= \OCP\Util::getVersion()[0]; ?><?= \OCP\Util::getVersion()[0] >= 25 ? ' nc-major-version-gte-25' : ''; ?>" data-nc-major-version="<?= \OCP\Util::getVersion()[0]; ?>" ng-class="{ 'loading-content': App.loading.isLoading('content') && |