Skip to content

Commit

Permalink
Fix readme.md lint
Browse files Browse the repository at this point in the history
  • Loading branch information
Lorenzo Iovino committed Jan 30, 2024
1 parent 7c20b83 commit 3307c1c
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 10 deletions.
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,14 @@ Check out the live demo: [ng2-fittext Demo](https://stackblitz.com/edit/stackbli

Install the library using npm:

```
$ npm install --save ng2-fittext
```bash
npm install --save ng2-fittext
```

### Usage

1. Import the module in your Angular application:
```
```ts
import { Ng2FittextModule } from "ng2-fittext";

@NgModule({
Expand All @@ -36,7 +36,7 @@ import { Ng2FittextModule } from "ng2-fittext";
```

2. Use the directive in your components:
```
```ts
import { Component } from '@angular/core';

@Component({
Expand All @@ -54,7 +54,7 @@ export class LabelComponent {}

Fit to the parent element (works if you have a variable number of elements between your element and its parent):

```
```ts
import { Component } from '@angular/core';

@Component({
Expand All @@ -70,7 +70,7 @@ export class LabelComponent {}

**NEW! Support for auto-resize input box:**

```
```ts
import { Component } from '@angular/core';

@Component({
Expand All @@ -86,7 +86,7 @@ export class InputBoxComponent {}

**NEW! Support for maxFontSize:**

```
```ts
import { Component } from '@angular/core';

@Component({
Expand Down
2 changes: 0 additions & 2 deletions angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@
"src/assets"
],
"styles": [
"src/styles.css"
],
"scripts": []
},
Expand Down Expand Up @@ -95,7 +94,6 @@
"src/assets"
],
"styles": [
"src/styles.scss"
],
"scripts": []
}
Expand Down
1 change: 0 additions & 1 deletion src/styles.css

This file was deleted.

0 comments on commit 3307c1c

Please sign in to comment.