Skip to content

Commit beed5b6

Browse files
committed
fix(ui): adjust button width to prevent overflow on min window width
1 parent 5fa4bcc commit beed5b6

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

lib/pages_desktop_specific/services/shopin_bit/desktop_shopinbit_view.dart

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,7 @@ class _DesktopServicesViewState extends ConsumerState<DesktopShopInBitView> {
240240
child: Row(
241241
children: [
242242
PrimaryButton(
243-
width: 250,
243+
width: 224,
244244
buttonHeight: ButtonHeight.m,
245245
enabled: true,
246246
label: "Shop with ShopinBit",
@@ -257,7 +257,7 @@ class _DesktopServicesViewState extends ConsumerState<DesktopShopInBitView> {
257257
final count = snapshot.data ?? 0;
258258

259259
return SecondaryButton(
260-
width: 200,
260+
width: 196,
261261
buttonHeight: ButtonHeight.m,
262262
label: count > 0
263263
? "My requests ($count)"
@@ -276,7 +276,7 @@ class _DesktopServicesViewState extends ConsumerState<DesktopShopInBitView> {
276276
),
277277
const SizedBox(width: 16),
278278
SecondaryButton(
279-
width: 140,
279+
width: 118,
280280
buttonHeight: ButtonHeight.m,
281281
label: "Settings",
282282
onPressed: () {

0 commit comments

Comments
 (0)