Skip to content

Commit

Permalink
fix: [DX-2199] Fix alignment addon
Browse files Browse the repository at this point in the history
  • Loading branch information
witwash committed Oct 3, 2024
1 parent cbf5fa3 commit 671ce76
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 671ce76

Please sign in to comment.