1
0
mirror of https://github.com/bitwarden/browser synced 2026-02-08 20:50:28 +00:00

remove unnecessary containers

This commit is contained in:
Bryan Cunningham
2025-12-04 11:27:36 -05:00
parent 6ca91100e7
commit 1fc7fcde8b

View File

@@ -29,16 +29,14 @@
</div>
@if (title()) {
<ng-container>
<!-- Small screens -->
<h1 bitTypography="h2" class="tw-mt-2 sm:tw-hidden">
{{ title() }}
</h1>
<!-- Medium to Larger screens -->
<h1 bitTypography="h1" class="tw-mt-2 tw-hidden sm:tw-block">
{{ title() }}
</h1>
</ng-container>
<!-- Small screens -->
<h1 bitTypography="h2" class="tw-mt-2 sm:tw-hidden">
{{ title() }}
</h1>
<!-- Medium to Larger screens -->
<h1 bitTypography="h1" class="tw-mt-2 tw-hidden sm:tw-block">
{{ title() }}
</h1>
}
@if (subtitle()) {
@@ -73,10 +71,8 @@
}
@if (!hideYearAndVersion) {
<ng-container>
<div bitTypography="body2">&copy; {{ year }} Bitwarden Inc.</div>
<div bitTypography="body2">{{ version }}</div>
</ng-container>
<div bitTypography="body2">&copy; {{ year }} Bitwarden Inc.</div>
<div bitTypography="body2">{{ version }}</div>
}
</footer>
}