Profile settings buttons style fixes
This commit is contained in:
parent
267b3a327c
commit
e782ef348b
|
@ -348,7 +348,12 @@ export const ProfileSettings = () => {
|
||||||
<Button
|
<Button
|
||||||
class={styles.cancel}
|
class={styles.cancel}
|
||||||
variant="light"
|
variant="light"
|
||||||
value={t('Cancel changes')}
|
value={
|
||||||
|
<>
|
||||||
|
<span class={styles.cancelLabel}>{t('Cancel changes')}</span>
|
||||||
|
<span class={styles.cancelLabelMobile}>{t('Cancel')}</span>
|
||||||
|
</>
|
||||||
|
}
|
||||||
onClick={handleCancel}
|
onClick={handleCancel}
|
||||||
/>
|
/>
|
||||||
<Button onClick={handleSubmit} variant="primary" value={t('Save settings')} />
|
<Button onClick={handleSubmit} variant="primary" value={t('Save settings')} />
|
||||||
|
|
|
@ -302,6 +302,20 @@ h5 {
|
||||||
padding: 0.8rem 0 !important;
|
padding: 0.8rem 0 !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.cancelLabel {
|
||||||
|
@include media-breakpoint-down(sm) {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.cancelLabelMobile {
|
||||||
|
display: none;
|
||||||
|
|
||||||
|
@include media-breakpoint-down(sm) {
|
||||||
|
display: block;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
:global(.row) > * {
|
:global(.row) > * {
|
||||||
margin-bottom: 0;
|
margin-bottom: 0;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user