1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-17 16:53:34 +00:00

[CL-725] dialog adjustments (#15660)

* update dialog spacing/borders

* update scroll bottom threshold

* add shadow to dialog

* adjust simple dialog shadow

* update scroll util comment

* add background input to other dialog stories

* assign initial value to isScrollable

* add larger padding on alt background content

* update tab border color

* update tab content padding

* update tab content spacing

* revert tab border color change

* bring back tab border color changes

* update web header border to match new tab border

* add background to props in story
This commit is contained in:
Bryan Cunningham
2025-08-11 11:33:09 -04:00
committed by GitHub
parent d3c6ba9f4b
commit af12e376f7
9 changed files with 49 additions and 22 deletions

View File

@@ -7,7 +7,7 @@ import { Component } from "@angular/core";
selector: "bit-tab-header",
host: {
class:
"tw-h-16 tw-ps-4 tw-bg-background-alt tw-flex tw-items-end tw-border-0 tw-border-b tw-border-solid tw-border-secondary-300",
"tw-h-16 tw-ps-4 tw-bg-background-alt tw-flex tw-items-end tw-border-0 tw-border-b tw-border-solid tw-border-secondary-100",
},
template: `<ng-content></ng-content>`,
})

View File

@@ -84,7 +84,7 @@ export class TabListItemDirective implements FocusableOption {
get activeClassList(): string[] {
return [
"tw--mb-px",
"tw-border-x-secondary-300",
"tw-border-x-secondary-100",
"tw-border-t-primary-600",
"tw-border-b",
"tw-border-b-background",

View File

@@ -29,7 +29,7 @@
}
</div>
</bit-tab-header>
<div class="tw-px-4 tw-pt-5">
<div class="tw-px-6 tw-pt-5">
@for (tab of tabs; track tab; let i = $index) {
<bit-tab-body
role="tabpanel"