Files
ocis/web/packages/web-pkg
Gaurav Soni 07f2a8bba9 fix(web): [OCISDEV-996] truncate long resource names instead of overlapping the next column (#12754)
fix(web): [OCISDEV-996] truncate long resource names instead of overlapping next column

Add `min-width: 0` to `.oc-resource` so the inline-flex item can shrink
below its content width. Without it the automatic min-content floor kept
the element at full name width, painting the name over the adjacent
column's value. The existing `oc-text-truncate` rule on the name span can
now take effect and truncate with an ellipsis at the column boundary.

Most visible in the Spaces overview, where a long space name overlapped
the "Manager" column, but it affected every resource table using the name
column, including the files list and search results.
2026-08-07 16:22:30 +02:00
..

web-pkg

web-pkg is a package that provides utilities, most importantly a variety of components and composables, that can be useful when developing apps and extensions for ownCloud Web.

Installation

Depending on your package manager, run one of the following commands:

$ npm install @ownclouders/web-pkg --save-dev

$ pnpm add -D @ownclouders/web-pkg

$ yarn add @ownclouders/web-pkg --dev

It's recommended to install this package as a dev dependency because it's only really needed for providing autocompletion in your IDE and unit tests. In a runtime context, the ownCloud Web runtime provides the actual implementation.