akveo / akveo/nebular

How to allign input fields in centre in a card body

Đang mở
#2,570 1 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
TypeScript
Star
8.1k
Fork
1.5k
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

Hi,

Yesterday I started working with nebular theme, really nice designs. Today I wanted to build a login form inside a card body, so far I put all the elements I need inside, now I am trying to centre them, but I can not make it work. I tried using css but it did not work. Maybe someone here can help me? I am a amateur in css so I do not know if I did it right. I have an nrwl angular project and my component is a lib with its own scss but right now that is not in use.

Here is my html:

```



Moniesta Giris













Login



```

My theme.scss
```
@import '~@nebular/theme/styles/theming';
@import '~@nebular/theme/styles/themes/default';
$nb-enable-css-custom-properties:true;

$nb-themes: nb-register-theme((

// add your variables here like:
layout-background-color: #FFFFFF,
input-tiny-padding: 1rem,

// color-primary-100: #f2f6ff,
// color-primary-200: #d9e4ff,
// color-primary-300: #a6c1ff,
// color-primary-400: #598bff,
// color-primary-500: #3366ff,
// color-primary-600: #274bdb,
// color-primary-700: #1a34b8,
// color-primary-800: #102694,
// color-primary-900: #091c7a,

), default, default);

```

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.