diff options
author | Julius Härtl <jus@bitgrid.net> | 2022-07-16 10:17:15 +0200 |
---|---|---|
committer | Julius Härtl <jus@bitgrid.net> | 2022-07-16 10:17:15 +0200 |
commit | 87320cba99229e065747d699461b1dddc54326f8 (patch) | |
tree | 010b1636b51ce61526689d90aa10d02054e380ec /core/templates | |
parent | ca0435382d91a734842b74c097c4f57590c6e8a0 (diff) | |
download | nextcloud-server-87320cba99229e065747d699461b1dddc54326f8.tar.gz nextcloud-server-87320cba99229e065747d699461b1dddc54326f8.zip |
Fix styling for single skip buttons globally
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'core/templates')
-rw-r--r-- | core/templates/layout.user.php | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/core/templates/layout.user.php b/core/templates/layout.user.php index d6d0b4441bc..63fb5c597f7 100644 --- a/core/templates/layout.user.php +++ b/core/templates/layout.user.php @@ -49,8 +49,10 @@ $getUserAvatar = static function (int $size) use ($_): string { <input type="hidden" id="initial-state-<?php p($app); ?>" value="<?php p(base64_encode($initialState)); ?>"> <?php }?> - <?php if ($_['id-app-content'] !== null) { ?><a href="<?php p($_['id-app-content']); ?>" class="button primary skip-navigation skip-content"><?php p($l->t('Skip to main content')); ?></a><?php } ?> - <?php if ($_['id-app-navigation'] !== null) { ?><a href="<?php p($_['id-app-navigation']); ?>" class="button primary skip-navigation"><?php p($l->t('Skip to navigation of app')); ?></a><?php } ?> + <div id="skip-actions"> + <?php if ($_['id-app-content'] !== null) { ?><a href="<?php p($_['id-app-content']); ?>" class="button primary skip-navigation skip-content"><?php p($l->t('Skip to main content')); ?></a><?php } ?> + <?php if ($_['id-app-navigation'] !== null) { ?><a href="<?php p($_['id-app-navigation']); ?>" class="button primary skip-navigation"><?php p($l->t('Skip to navigation of app')); ?></a><?php } ?> + </div> <div id="notification-container"> <div id="notification"></div> |