Skip to content

bug: The ion-no-padding class is not overriding the ion-list padding #30521

Open
@Marius-Romanus

Description

@Marius-Romanus

Prerequisites

Ionic Framework Version

v8.x

Current Behavior

The ion-no-padding class is not overriding the ion-list padding

Image

Expected Behavior

When setting the class ion-no-padding it should not have padding.

Steps to Reproduce

See the CSS in the example: https://stackblitz.com/edit/wdmx2ux4?file=src%2Fapp%2Fexample.component.html

Code Reproduction URL

https://stackblitz.com/edit/wdmx2ux4?file=src%2Fapp%2Fexample.component.html

Ionic Info

Ionic:

   Ionic CLI                     : 7.2.1
   Ionic Framework               : @ionic/angular 8.6.2
   @angular-devkit/build-angular : not installed
   @angular-devkit/schematics    : 19.2.14
   @angular/cli                  : 20.0.4
   @ionic/angular-toolkit        : 12.2.0

Capacitor:

   Capacitor CLI      : 7.4.0
   @capacitor/android : 7.4.0
   @capacitor/core    : 7.4.0
   @capacitor/ios     : not installed

Utility:

   cordova-res : not installed globally
   native-run  : 2.0.1

System:

   NodeJS : v22.13.1
   npm    : 11.4.2
   OS     : Windows 10

Additional Information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions