#11374·NativeScript

With NS9.1 I see a minor CSS issue

Author: cjohn001Created Aug 28, 2026Updated Aug 28, 2026
Labelsbug-pending-triage

Issue Description

Hello together, I am using "@nativescript/theme" classes in my Nativescript Angular app.

  1. The provided p-r-15 and other p-r-* classes do not seem to work anymore. seems like the specifity is computed now differently. I have nothing changed in the include order or similar. Just project update to NS 9.1 from 9.0.x. I could work around the issue by defining custom p-r-* classes with a higher specifity.
  2. When the padding classes are combined with style="width: auto;" the padding is ignored. however, when adding padding to the style (style="padding-right:5; width:auto;") it is accepted.

Reproduction

No response

Relevant log output (if applicable)

bash

Environment

No response

Please accept these terms

Source: NativeScript/NativeScript