Skip to content

Commit

Permalink
Merge pull request #984 from Satoshi-Sh/feat/#981-add-fullwidth-property
Browse files Browse the repository at this point in the history
Add fullwidth description to file_selector and file_download
  • Loading branch information
FlorianJacta authored Jul 10, 2024
2 parents 52abf4f + 4c6114f commit 97366cb
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
8 changes: 8 additions & 0 deletions docs/manuals/gui/viselements/file_download.md_template
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,14 @@ The download can be triggered when clicking on a button or can be performed auto
All the file download controls are generated with the "taipy-file_download" CSS class. You can use this class
name to select the file download controls on your page and apply style.

### [Stylekit](../styling/stylekit.md) support

The [Stylekit](../styling/stylekit.md) provides a specific class that you can use to style file download elements:

* *fullwidth*<br/>
If a file download element uses the *fullwidth* class, then it uses the whole available
horizontal space.

# Usage

## Default behavior
Expand Down
8 changes: 8 additions & 0 deletions docs/manuals/gui/viselements/file_selector.md_template
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,14 @@ The upload can be triggered by pressing a button, or drag-and-dropping a file on
All the file selector controls are generated with the "taipy-file_selector" CSS class. You can use this class
name to select the file selector controls on your page and apply style.

### [Stylekit](../styling/stylekit.md) support

The [Stylekit](../styling/stylekit.md) provides a specific class that you can use to style file selectors:

* *fullwidth*<br/>
If a file selector uses the *fullwidth* class, then it uses the whole available
horizontal space.

# Usage

## Default behavior
Expand Down

0 comments on commit 97366cb

Please sign in to comment.