mirror of
https://github.com/zitadel/zitadel.git
synced 2025-08-11 21:07:31 +00:00
fix(console): broken layout and colors in keyboard shortcuts modal (#7276)
* fix(console): broken styles in keyboards shortcut modal * fix(e2e): increase timeout for org delete test * fix: ugly space in button between top border and background color when hovered
This commit is contained in:
@@ -1,3 +1,4 @@
|
|||||||
|
<div class="container">
|
||||||
<h1 class="title" mat-dialog-title>{{ 'KEYBOARDSHORTCUTS.TITLE' | translate }}</h1>
|
<h1 class="title" mat-dialog-title>{{ 'KEYBOARDSHORTCUTS.TITLE' | translate }}</h1>
|
||||||
<div mat-dialog-content>
|
<div mat-dialog-content>
|
||||||
<div *ngIf="isNotOnSystem" class="keyboard-shortcuts-group">
|
<div *ngIf="isNotOnSystem" class="keyboard-shortcuts-group">
|
||||||
@@ -47,3 +48,4 @@
|
|||||||
</div>
|
</div>
|
||||||
<!-- <span *ngIf="!last" class="keyboard-shortcuts-plus cnsl-secondary-text">+</span> -->
|
<!-- <span *ngIf="!last" class="keyboard-shortcuts-plus cnsl-secondary-text">+</span> -->
|
||||||
</ng-template>
|
</ng-template>
|
||||||
|
</div>
|
||||||
|
@@ -21,6 +21,7 @@
|
|||||||
h2 {
|
h2 {
|
||||||
font-size: 1rem;
|
font-size: 1rem;
|
||||||
margin: 0 0 1rem 0;
|
margin: 0 0 1rem 0;
|
||||||
|
color: $text-color;
|
||||||
}
|
}
|
||||||
|
|
||||||
.keyboard-shortcuts-wrapper {
|
.keyboard-shortcuts-wrapper {
|
||||||
@@ -85,21 +86,30 @@
|
|||||||
.keyboard-shortcuts-plus {
|
.keyboard-shortcuts-plus {
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
.title {
|
.title {
|
||||||
font-size: 1.2rem;
|
font-size: 1.2rem;
|
||||||
margin-top: 0;
|
margin-top: 0;
|
||||||
|
color: $text-color;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.action {
|
.action {
|
||||||
display: flex;
|
display: flex;
|
||||||
|
margin-top: 1rem;
|
||||||
button {
|
button {
|
||||||
border-radius: 0.5rem;
|
border-radius: 0.5rem;
|
||||||
|
.mat-mdc-button-persistent-ripple {
|
||||||
|
border-style: none !important;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.fill-space {
|
.fill-space {
|
||||||
flex: 1;
|
flex: 1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.container {
|
||||||
|
padding: 1.5rem;
|
||||||
|
border-radius: 6px !important;
|
||||||
|
}
|
||||||
|
@@ -27,7 +27,7 @@ describe('organizations', () => {
|
|||||||
cy.visit(orgsPath);
|
cy.visit(orgsPath);
|
||||||
cy.contains('tr', newOrg).click();
|
cy.contains('tr', newOrg).click();
|
||||||
cy.get('[data-e2e="actions"]').click();
|
cy.get('[data-e2e="actions"]').click();
|
||||||
cy.get('[data-e2e="delete"]', { timeout: 1000 }).should('be.visible').click();
|
cy.get('[data-e2e="delete"]', { timeout: 3000 }).should('be.visible').click();
|
||||||
cy.get('[data-e2e="confirm-dialog-input"]').focus().clear().type(newOrg);
|
cy.get('[data-e2e="confirm-dialog-input"]').focus().clear().type(newOrg);
|
||||||
cy.get('[data-e2e="confirm-dialog-button"]').click();
|
cy.get('[data-e2e="confirm-dialog-button"]').click();
|
||||||
cy.shouldConfirmSuccess();
|
cy.shouldConfirmSuccess();
|
||||||
|
Reference in New Issue
Block a user