mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-01-21 07:55:00 +00:00
ui: Fix buttons jumping on click in snapshots page
Fixes: #2049. This is regression introduced by me in 213cf16f8daa66dbfd3c761a61483c959c753559. Although this case was tested for regression, the test setup was incorrect. Tests: - In networks page to details of a connection, the Delete button is aligned to the right. - In snapshots page, the Create Snapshot button is aligned to the left and Delete Snapshots button is aligned to the right. Clicking on the buttons does not change their position. Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org> Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
This commit is contained in:
parent
013a91ed5d
commit
864de1be42
@ -723,8 +723,10 @@ input[type='submit'].running-status-button {
|
||||
}
|
||||
|
||||
.btn-toolbar .button-secondary:first-child,
|
||||
.btn-toolbar :not(.button-secondary) + .button-secondary,
|
||||
.btn-toolbar :not(.button-secondary) + .running-status-button-before {
|
||||
.btn-toolbar .form:not(.button-secondary) + .button-secondary,
|
||||
.btn-toolbar .form:not(.button-secondary) + .running-status-button-before,
|
||||
.btn-toolbar .btn:not(.button-secondary) + .button-secondary,
|
||||
.btn-toolbar .btn:not(.button-secondary) + .running-status-button-before {
|
||||
margin-left: auto;
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user