akveo / akveo/nebular

Feature: NbCard elevation (elevation)

Ouverte
#2,039 1 commentaire 0 réactions 0 personnes assignées Voir sur GitHub
Langage dominant
TypeScript
Étoiles
8.1k
Forks
1.5k
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

### Issue type

**I'm submitting a ...** (check one with "x")

* [ ] bug report
* [X] feature request

### Issue description

**Current behavior:**
Currently it is not possible to set NbCard shadow via a parameter and NbCards within cards will always have the same shadow, resulting in a weird visual experience because they will display the same "elevation".

**Expected behavior:**
By setting the elevation:number parameter on nb-card element, users will be able to manage the NbCard shadow and create consistent elevated structures.

**Steps to reproduce:**
Nest a NbCard within a NbCard to check or components using NbCards.

**Related code:**
A similar parameter like the current "size" could help set the NbCard elevation, simply rendering the related bootstrap 4 shadow class: https://getbootstrap.com/docs/4.3/utilities/shadows/

I am happy to go ahead with the required PR if this gets the go ahead.

Guide de contribution

Ouvrir le guide de contribution

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.