WIP compact
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:flutter/services.dart';
|
||||
import '../../../ui/theme/app_design_tokens.dart';
|
||||
|
||||
/// The find-in-diff field `/` opens: the query, "3 of 12", previous and next
|
||||
/// match, and close. Enter goes to the next match, Shift+Enter to the
|
||||
@@ -37,7 +38,7 @@ class DiffSearchBar extends StatelessWidget {
|
||||
: '$position of $count';
|
||||
return Material(
|
||||
elevation: 3,
|
||||
borderRadius: BorderRadius.circular(28),
|
||||
borderRadius: AppDesignTokens.of(context).denseCorners(BorderRadius.circular(28)),
|
||||
color: Theme.of(context).colorScheme.surfaceContainerHigh,
|
||||
child: Padding(
|
||||
padding: const EdgeInsetsDirectional.fromSTEB(16, 4, 4, 4),
|
||||
|
||||
Reference in New Issue
Block a user