fix vertical overflow scroll on BackButton (#6914)

* fix: vertical overflow scroll on BackButton

Co-authored-by: raph941 <45232708+raph941@users.noreply.github.com>

* chore: adds suggested improvement to handle RTS view

Co-authored-by: raph941 <45232708+raph941@users.noreply.github.com>

---------

Co-authored-by: raph941 <45232708+raph941@users.noreply.github.com>
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com>
This commit is contained in:
GitStart
2023-04-24 20:27:58 +03:00
committed by GitHub
parent 1a07828b1b
commit f6e0453bb2
2 changed files with 2 additions and 2 deletions

View File

@@ -85,7 +85,7 @@
} }
} }
.settings.back-button { .header-section.back-button {
direction: initial; direction: initial;
margin-left: var(--space-normal); margin-left: var(--space-normal);
margin-right: var(--space-smaller); margin-right: var(--space-smaller);

View File

@@ -1,5 +1,5 @@
<template> <template>
<button class="settings back-button" @click.capture="goBack"> <button class="header-section back-button" @click.capture="goBack">
<fluent-icon icon="chevron-left" /> <fluent-icon icon="chevron-left" />
{{ buttonLabel || $t('GENERAL_SETTINGS.BACK') }} {{ buttonLabel || $t('GENERAL_SETTINGS.BACK') }}
</button> </button>