akveo / akveo/nebular

Feature: NbCard elevation (elevation)

未关闭
#2,039 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
TypeScript
星标
8.1k
派生
1.5k
PR 合并指标
30 天内没有已合并 PR

描述

### 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.

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。