diff options
author | Carl Schwan <carl@carlschwan.eu> | 2022-07-18 13:25:10 +0200 |
---|---|---|
committer | Carl Schwan <carl@carlschwan.eu> | 2022-07-18 13:55:36 +0200 |
commit | 0703d0fc6b8b2eb8d6534a922e91856ef7835298 (patch) | |
tree | ffe66e4afeeead0cee87bda77dcd397fc447fcf7 /apps/files/templates | |
parent | 929aaaa129519e554f56b19815d0e2ff0f41cd2b (diff) | |
download | nextcloud-server-0703d0fc6b8b2eb8d6534a922e91856ef7835298.tar.gz nextcloud-server-0703d0fc6b8b2eb8d6534a922e91856ef7835298.zip |
Fix quota nav item
- Spacing was not correctly set
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
Diffstat (limited to 'apps/files/templates')
-rw-r--r-- | apps/files/templates/appnavigation.php | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/apps/files/templates/appnavigation.php b/apps/files/templates/appnavigation.php index 9aea68fef99..d7c8f75665a 100644 --- a/apps/files/templates/appnavigation.php +++ b/apps/files/templates/appnavigation.php @@ -11,16 +11,16 @@ <?php if ($_['quota'] === \OCP\Files\FileInfo::SPACE_UNLIMITED): ?> <li id="quota" class="pinned <?php p($pinned === 0 ? 'first-pinned ' : '') ?>"> - <a href="#" class="icon-quota svg"> - <p id="quotatext"><?php p($l->t('%s used', [$_['usage']])); ?></p> + <a href="#" class="icon-quota svg quota-navigation-item"> + <p id="quotatext" class="quota-navigation-item__text"><?php p($l->t('%s used', [$_['usage']])); ?></p> </a> </li> <?php else: ?> <li id="quota" class="has-tooltip pinned <?php p($pinned === 0 ? 'first-pinned ' : '') ?>" title="<?php p($l->t('%s%% of %s used', [$_['usage_relative'], $_['total_space']])); ?>"> - <a href="#" class="icon-quota svg"> - <p id="quotatext"><?php p($l->t('%1$s of %2$s used', [$_['usage'], $_['total_space']])); ?></p> - <div class="quota-container"> + <a href="#" class="icon-quota svg quota-navigation-item"> + <p id="quotatext" class="quota-navigation-item__text"><?php p($l->t('%1$s of %2$s used', [$_['usage'], $_['total_space']])); ?></p> + <div class="quota-navigation-item__container"> <progress value="<?php p($_['usage_relative']); ?>" max="100" class="<?= ($_['usage_relative'] > 80) ? 'warn' : '' ?>"></progress> </div> </a> |