Skip to content

Commit

Permalink
fix: [DX-2199] Fix alignment addon (#693)
Browse files Browse the repository at this point in the history
  • Loading branch information
witwash authored Oct 14, 2024
1 parent 9ddd5f9 commit f3b1561
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions optimus_widgetbook/lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ class WidgetbookApp extends StatelessWidget {
],
),
InspectorAddon(),
AlignmentAddon(),
ThemeAddon<OptimusThemeData>(
themes: [
const WidgetbookTheme(
Expand Down Expand Up @@ -54,9 +53,10 @@ class WidgetbookApp extends StatelessWidget {
name: 'Background builder',
builder: (BuildContext context, Widget widget) => ColoredBox(
color: context.tokens.backgroundStaticFlat,
child: Center(child: widget),
child: SafeArea(child: widget),
),
),
AlignmentAddon(),
],
directories: directories,
);
Expand Down

0 comments on commit f3b1561

Please sign in to comment.