akveo / akveo/nebular

How to allign input fields in centre in a card body

Abierto
#2,570 1 comentario 0 reacciones 0 asignados Ver en GitHub
Lenguaje dominante
TypeScript
Estrellas
8.1k
Forks
1.5k
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

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);

```

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.