Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Commit

Permalink
Add vertical spacing between buttons when they go over multiple lines (
Browse files Browse the repository at this point in the history
  • Loading branch information
twigleingrid authored Dec 9, 2021
1 parent 9452a3c commit 6c04c19
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions res/css/_common.scss
Original file line number Diff line number Diff line change
Expand Up @@ -413,6 +413,7 @@ input[type=text]:focus, input[type=password]:focus, textarea:focus {
@mixin mx_DialogButton;
margin-left: 0px;
margin-right: 8px;
margin-bottom: 5px;

// flip colours for the secondary ones
font-weight: 600;
Expand Down
3 changes: 3 additions & 0 deletions res/css/views/settings/_CryptographyPanel.scss
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,7 @@

.mx_CryptographyPanel_importExportButtons {
margin-bottom: 15px;
display: inline-flex;
flex-flow: wrap;
row-gap: 10px;
}
3 changes: 3 additions & 0 deletions res/css/views/settings/_SecureBackupPanel.scss
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,9 @@ limitations under the License.

.mx_SecureBackupPanel_buttonRow {
margin: 1em 0;
display: inline-flex;
flex-flow: wrap;
row-gap: 10px;

:nth-child(n + 1) {
margin-inline-end: 10px;
Expand Down

0 comments on commit 6c04c19

Please sign in to comment.