1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-14 15:23:33 +00:00

[CL-236] Card component (#8900)

* add card component; adjust section margin on small screens
This commit is contained in:
Will Martin
2024-04-24 14:52:29 -04:00
committed by GitHub
parent 5dc83cd34c
commit e89c82defe
6 changed files with 81 additions and 2 deletions

View File

@@ -6,7 +6,7 @@ import { Component } from "@angular/core";
standalone: true,
imports: [CommonModule],
template: `
<section class="tw-mb-12">
<section class="tw-mb-6 md:tw-mb-12">
<ng-content></ng-content>
</section>
`,

View File

@@ -17,7 +17,7 @@ export default {
type Story = StoryObj<SectionComponent>;
/** Sections are simple containers that apply a bottom margin. They often contain a heading. */
/** Sections are simple containers that apply a responsive bottom margin. They often contain a heading. */
export const Default: Story = {
render: (args) => ({
props: args,