Skip to content

Commit 0c78953

Browse files
committed
Merge branch 'pr/1189'
2 parents a543ab0 + e536286 commit 0c78953

File tree

4 files changed

+21
-5
lines changed

4 files changed

+21
-5
lines changed

frontends/web/src/components/backups/backups.css

Lines changed: 18 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
border: solid 1px var(--color-lightgray);
1010
display: flex;
1111
flex-direction: column;
12-
max-height: 320px;
12+
max-height: 45vh;
1313
overflow-x: hidden;
1414
overflow-y: scroll;
1515
position: relative;
@@ -53,4 +53,20 @@
5353
margin-bottom: var(--space-quarter);
5454
font-size: var(--size-small);
5555
color: var(--color-secondary);
56-
}
56+
}
57+
58+
.backupButtons {
59+
display: flex;
60+
flex-wrap: wrap;
61+
flex-direction: row-reverse;
62+
gap: var(--space-half);
63+
margin-top: var(--space-default);
64+
}
65+
66+
@media (max-width: 768px) {
67+
.backupButtons {
68+
align-items: center;
69+
flex-direction: column;
70+
margin-top: var(--space-default);
71+
}
72+
}

frontends/web/src/components/devices/bitbox02/backups.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ class Backups extends Component<Props, State> {
132132
)
133133
}
134134
</div>
135-
<div className={['buttons text-center', style.fullWidth].join(' ')}>
135+
<div className={backupStyle.backupButtons}>
136136
{
137137
showRestore && (
138138
<Button

frontends/web/src/components/devices/bitbox02/checkbackup.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ class Check extends Component<Props, State> {
7979
return (
8080
<div>
8181
<Button
82-
secondary
82+
primary
8383
disabled={this.props.disabled}
8484
onClick={() => {
8585
this.checkBackup(true, backups);

frontends/web/src/routes/device/manage-backups/manage-backups.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ export default class ManageBackups extends Component {
109109
<div class="container">
110110
<Header title={<h2>{t('backup.title')}</h2>} />
111111
<div className="innerContainer scrollableContainer">
112-
<div className="content padded narrow">
112+
<div className="content padded">
113113
<div className="subHeaderContainer" style="justify-content: center; margin: 0;">
114114
<div className="subHeader">
115115
<h3 className="text-center">{t('backup.list')}</h3>

0 commit comments

Comments
 (0)