mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-11-29 08:25:10 +00:00
ui: Fix buttons jumping on click in snapshots page
Fixes: #2049.
This is regression introduced by me in 213cf16f8d.
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:
1 parent
013a91ed5d
commit
864de1be42
1 file changed
+4
-2
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user