primeng icon indicating copy to clipboard operation
primeng copied to clipboard

FileUpload: buttons missing spaces on mobile

Open dalenguyen opened this issue 1 year ago • 1 comments

Describe the bug

There is no spaces for buttons on mobile.

image

Environment

Production

Reproducer

https://primeng.org/fileupload#advanced

Angular version

18.0.0

PrimeNG version

17.8.1

Build / Runtime

Angular CLI App

Language

TypeScript

Node version (for AoT issues node --version)

20.0.0

Browser(s)

No response

Steps to reproduce the behavior

  1. Go to https://primeng.org/fileupload#advanced
  2. View it on mobile

Expected behavior

There're should be spaces for buttons on mobile

dalenguyen avatar Jun 22 '24 12:06 dalenguyen

So a simple adding margin should do the work?? image @dalenguyen, is this the desired output??

snehithssv avatar Jun 24 '24 06:06 snehithssv

Hi,

Thanks for reporting the issue but we don't add margins manually to the component.css file. All of them are generated from primeng-sass-theme repo depending on the variables of themes. Also, we're implementing a new theming engine and all the styling will be revised, probably this issue will be solved during this process.

Also instead of adding a margin, you can use header template and do whatever you want.

cetincakiroglu avatar Jul 04 '24 09:07 cetincakiroglu

Fixed in v18.0.0-beta.1

cetincakiroglu avatar Sep 04 '24 17:09 cetincakiroglu