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:
@@ -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>
|
||||
`,
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user