Skip to content
This repository was archived by the owner on Nov 17, 2022. It is now read-only.

Commit 6ddcf32

Browse files
authored
Merge pull request #557 from NativeScript/import-fix
import fixed
2 parents 7bf6ffc + 0db15aa commit 6ddcf32

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

tutorial/chapter-2.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,7 @@ Let's make one more change. Although often you want CSS rules to apply equally t
231231
Add the following as the first line of your app's `app.css` file:
232232

233233
``` CSS
234-
@import { url('~/platform.css') };
234+
@import url('~/platform.css');
235235
```
236236
> **IMPORTANT**: NativeScript is consistent with browser implementations, in that `@import` statements must precede all other CSS rules in a file.
237237

ui/styling.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -428,7 +428,7 @@ If you have doubt about the original font name use [Font Book](https://support.a
428428
The @import CSS rule allows you to import external CSS from local file, resource or url. These rules must precede all other types of rules.
429429
430430
```CSS
431-
@import { url('http://some-domain.com/your-style.css') }
432-
@import { url('res://your-style.css') }
433-
@import { url('~/your-style.css') }
431+
@import url('http://some-domain.com/your-style.css');
432+
@import url('res://your-style.css');
433+
@import url('~/your-style.css');
434434
```

0 commit comments

Comments
 (0)