Skip to content

Commit

Permalink
use css annotations
Browse files Browse the repository at this point in the history
  • Loading branch information
mofterdinger committed Oct 17, 2024
1 parent c0d552f commit 7c48e06
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions db/books.cds
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,12 @@ entity Books : cuid, managed {

annotate Attachments with @UI: {
LineItem : [
{Value: content},
{Value: fileName},
{Value: status},
{Value: createdAt},
{Value: createdBy},
{Value: content, @HTML5.CssDefaults: {width: '25%'}},
{Value: fileName, @HTML5.CssDefaults: {width: '25%'}},
{Value: mimeType, @HTML5.CssDefaults: {width: '10%'}},
{Value: status, @HTML5.CssDefaults: {width: '10%'}},
{Value: createdAt, @HTML5.CssDefaults: {width: '20%'}},
{Value: createdBy, @HTML5.CssDefaults: {width: '15%'}},
{Value: note}
]
} {
Expand Down

0 comments on commit 7c48e06

Please sign in to comment.