Skip to content

Commit 9e3503a

Browse files
Jinjiangchrisvfritz
authored andcommitted
Formatted all inline styles. (#1130)
1 parent d11aeec commit 9e3503a

File tree

9 files changed

+42
-42
lines changed

9 files changed

+42
-42
lines changed

src/support-vuejs/index.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ However, the amount of effort needed to maintain and develop new features for th
1515

1616
<p style="text-align: center;">
1717
<a href="https://stdlib.com">
18-
<img style="width:300px" src="/images/stdlib.png">
18+
<img style="width: 300px;" src="/images/stdlib.png">
1919
</a>
2020
</p>
2121

@@ -28,8 +28,8 @@ However, the amount of effort needed to maintain and develop new features for th
2828
### Patreon Gold ($500/mo)
2929

3030
<p class="patreon-sponsors sponsor-section">
31-
<a href="https://deepstreamhub.com" target="_blank" style="width:140px;top:1px">
32-
<img src="/images/deepstream.png" style="width:140px">
31+
<a href="https://deepstreamhub.com" target="_blank" style="width: 140px; top: 1px;">
32+
<img src="/images/deepstream.png" style="width: 140px;">
3333
</a><a href="https://jsfiddle.net">
3434
<img src="/images/jsfiddle.png">
3535
</a><a href="https://laravel.com">
@@ -44,18 +44,18 @@ However, the amount of effort needed to maintain and develop new features for th
4444
<img src="/images/monterail.png">
4545
</a><a href="https://www.2mhost.com/" target="_blank">
4646
<img src="/images/2mhost.png">
47-
</a><a href="https://vuejobs.com/?ref=vuejs" target="_blank" style="position:relative;top:6px">
47+
</a><a href="https://vuejobs.com/?ref=vuejs" target="_blank" style="position: relative; top: 6px;">
4848
<img src="/images/vuejobs.svg">
4949
</a><a href="https://leanpub.com/vuejs2" target="_blank">
5050
<img src="/images/tmvuejs2.png">
51-
</a><a href="https://component.io" target="_blank" style="width:140px">
52-
<img src="/images/component_io.png" style="width:140px">
53-
</a><a href="https://www.v2ex.com/t/379389" target="_blank" style="width:120px;">
54-
<img src="/images/v2exer.png" style="width:120px;">
55-
</a><a href="https://www.xfive.co/" target="_blank" style="width:80px;">
56-
<img src="/images/xfive.png" style="width:80px">
57-
</a><a href="http://www.frontenddevelopermeetups.com/" target="_blank" style="width:120px;">
58-
<img src="/images/frontend-meetups.png" style="width:120px">
51+
</a><a href="https://component.io" target="_blank" style="width: 140px;">
52+
<img src="/images/component_io.png" style="width: 140px;">
53+
</a><a href="https://www.v2ex.com/t/379389" target="_blank" style="width: 120px;">
54+
<img src="/images/v2exer.png" style="width: 120px;">
55+
</a><a href="https://www.xfive.co/" target="_blank" style="width: 80px;">
56+
<img src="/images/xfive.png" style="width: 80px;">
57+
</a><a href="http://www.frontenddevelopermeetups.com/" target="_blank" style="width: 120px;">
58+
<img src="/images/frontend-meetups.png" style="width: 120px;">
5959
</a>
6060
</p>
6161

src/v2/examples/hackernews.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@ order: 12
77
> This is a HackerNews clone built upon HN's official Firebase API, Vue 2.0 + Vue Router + Vuex, with server-side rendering.
88
99
{% raw %}
10-
<div style="max-width:600px">
10+
<div style="max-width: 600px;">
1111
<a href="https://github.com/vuejs/vue-hackernews-2.0" target="_blank">
12-
<img style="width:100%" src="/images/hn.png">
12+
<img style="width: 100%;" src="/images/hn.png">
1313
</a>
1414
</div>
1515
{% endraw %}

src/v2/guide/components.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -219,8 +219,8 @@ Components are meant to be used together, most commonly in parent-child relation
219219

220220
In Vue, the parent-child component relationship can be summarized as **props down, events up**. The parent passes data down to the child via **props**, and the child sends messages to the parent via **events**. Let's see how they work next.
221221

222-
<p style="text-align: center">
223-
<img style="width:300px" src="/images/props-events.png" alt="props down, events up">
222+
<p style="text-align: center;">
223+
<img style="width: 300px;" src="/images/props-events.png" alt="props down, events up">
224224
</p>
225225

226226
## Props

src/v2/guide/forms.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,15 +38,15 @@ new Vue({
3838

3939
``` html
4040
<span>Multiline message is:</span>
41-
<p style="white-space: pre-line">{{ message }}</p>
41+
<p style="white-space: pre-line;">{{ message }}</p>
4242
<br>
4343
<textarea v-model="message" placeholder="add multiple lines"></textarea>
4444
```
4545

4646
{% raw %}
4747
<div id="example-textarea" class="demo">
4848
<span>Multiline message is:</span>
49-
<p style="white-space: pre-line">{{ message }}</p>
49+
<p style="white-space: pre-line;">{{ message }}</p>
5050
<br>
5151
<textarea v-model="message" placeholder="add multiple lines"></textarea>
5252
</div>
@@ -219,7 +219,7 @@ Multiple select (bound to Array):
219219
```
220220
{% raw %}
221221
<div id="example-6" class="demo">
222-
<select v-model="selected" multiple style="width: 50px">
222+
<select v-model="selected" multiple style="width: 50px;">
223223
<option>A</option>
224224
<option>B</option>
225225
<option>C</option>

src/v2/guide/single-file-components.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ All of these are solved by **single-file components** with a `.vue` extension, m
1919

2020
Here's a simple example of a file we'll call `Hello.vue`:
2121

22-
<img src="/images/vue-component.png" style="display: block; margin: 30px auto">
22+
<img src="/images/vue-component.png" style="display: block; margin: 30px auto;">
2323

2424
Now we get:
2525

@@ -29,7 +29,7 @@ Now we get:
2929

3030
As promised, we can also use preprocessors such as Pug, Babel (with ES2015 modules), and Stylus for cleaner and more feature-rich components.
3131

32-
<img src="/images/vue-component-with-preprocessors.png" style="display: block; margin: 30px auto">
32+
<img src="/images/vue-component-with-preprocessors.png" style="display: block; margin: 30px auto;">
3333

3434
These specific languages are just examples. You could just as easily use Bublé, TypeScript, SCSS, PostCSS - or whatever other preprocessors that help you be productive. If using Webpack with `vue-loader`, it also has first-class support for CSS Modules.
3535

themes/vue/layout/index.ejs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@
5454

5555
<div id="footer">
5656
<a href="https://www.shuttleworthfoundation.org/fellows/flash-grants/" target="_blank">
57-
<img src="/images/shuttleworth.png" style="width:200px">
57+
<img src="/images/shuttleworth.png" style="width: 200px;">
5858
</a>
5959
<p>Released under the <a href="https://opensource.org/licenses/MIT" target="_blank">MIT License</a><br>
6060
Copyright &copy; 2014-<%- new Date().getFullYear() %> Evan You</p>

themes/vue/layout/page.ejs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
<span><a href="<%- url_for(page.path) %>"><%- page.title %></a></span>
2929
<% }) %>
3030
<% site.pages.find({ type: page.type, order: page.order + 1 }).each(function (page) { %>
31-
<span style="float:right"><a href="<%- url_for(page.path) %>"><%- page.title %></a></span>
31+
<span style="float: right;"><a href="<%- url_for(page.path) %>"><%- page.title %></a></span>
3232
<% }) %>
3333
</div>
3434
<% } %>

themes/vue/layout/partials/sponsors.ejs

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,48 +1,48 @@
11
<h3>Patreon Sponsors</h3>
22

3-
<a href="https://stdlib.com/" target="_blank" style="width: 180px">
4-
<img style="width: 180px" src="<%- url_for("/images/stdlib.png") %>">
3+
<a href="https://stdlib.com/" target="_blank" style="width: 180px;">
4+
<img style="width: 180px;" src="<%- url_for("/images/stdlib.png") %>">
55
</a>
66
<br>
77
<br>
8-
<a href="https://deepstreamhub.com" target="_blank" style="width:130px;top:1px">
9-
<img src="<%- url_for("/images/deepstream.png") %>" style="width:130px">
8+
<a href="https://deepstreamhub.com" target="_blank" style="width: 130px; top: 1px;">
9+
<img src="<%- url_for("/images/deepstream.png") %>" style="width: 130px;">
1010
</a>
1111
<a href="https://jsfiddle.net/" target="_blank">
1212
<img src="<%- url_for("/images/jsfiddle.png") %>">
1313
</a>
1414
<a href="https://laravel.com/" target="_blank">
1515
<img src="<%- url_for("/images/laravel.png") %>">
1616
</a>
17-
<a href="https://chaitin.cn" target="_blank" style="top:-1px">
17+
<a href="https://chaitin.cn" target="_blank" style="top: -1px;">
1818
<img src="<%- url_for("/images/chaitin.png") %>">
1919
</a>
2020
<a href="https://htmlburger.com" target="_blank">
2121
<img src="<%- url_for("/images/htmlburger.png") %>">
2222
</a>
23-
<a href="https://starter.someline.com/" target="_blank" style="top:-2px">
23+
<a href="https://starter.someline.com/" target="_blank" style="top: -2px;">
2424
<img src="<%- url_for("/images/someline.png") %>">
2525
</a>
2626
<a href="http://monterail.com/" target="_blank">
2727
<img src="<%- url_for("/images/monterail.png") %>">
2828
</a>
29-
<a href="https://www.2mhost.com/" target="_blank" style="width:90px">
30-
<img src="<%- url_for("/images/2mhost.png") %>" style="width:90px">
29+
<a href="https://www.2mhost.com/" target="_blank" style="width: 90px;">
30+
<img src="<%- url_for("/images/2mhost.png") %>" style="width: 90px;">
3131
</a>
32-
<a href="https://vuejobs.com/?ref=vuejs" target="_blank" style="width:80px;top:4px">
33-
<img src="<%- url_for("/images/vuejobs.svg") %>" style="width:80px">
32+
<a href="https://vuejobs.com/?ref=vuejs" target="_blank" style="width: 80px; top: 4px;">
33+
<img src="<%- url_for("/images/vuejobs.svg") %>" style="width: 80px;">
3434
</a>
3535
<a href="https://leanpub.com/vuejs2" target="_blank">
3636
<img src="<%- url_for("/images/tmvuejs2.png") %>">
3737
</a>
38-
<a href="https://component.io" target="_blank" style="width:120px;top:1px">
39-
<img src="<%- url_for("/images/component_io.png") %>" style="width:120px">
38+
<a href="https://component.io" target="_blank" style="width: 120px; top: 1px;">
39+
<img src="<%- url_for("/images/component_io.png") %>" style="width: 120px;">
4040
</a>
41-
<a href="https://www.v2ex.com/t/379389" target="_blank" style="width:100px;">
42-
<img src="<%- url_for("/images/v2exer.png") %>" style="width:100px">
41+
<a href="https://www.v2ex.com/t/379389" target="_blank" style="width: 100px;">
42+
<img src="<%- url_for("/images/v2exer.png") %>" style="width: 100px;">
4343
</a>
44-
<a href="https://www.xfive.co/" target="_blank" style="width:65px;">
45-
<img src="<%- url_for("/images/xfive.png") %>" style="width:65px">
44+
<a href="https://www.xfive.co/" target="_blank" style="width: 65px;">
45+
<img src="<%- url_for("/images/xfive.png") %>" style="width: 65px;">
4646
</a>
4747
<a href="http://www.frontenddevelopermeetups.com/" target="_blank" style="width:100px;">
4848
<img src="<%- url_for("/images/frontend-meetups.png") %>" style="width:100px">

themes/vue/layout/post.ejs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,11 @@
66
<div class="list">
77
<h2>
88
Recent Posts
9-
<a href="<%- url_for("/atom.xml") %>" target="_blank" style="vertical-align: middle; margin-left: 5px">
10-
<img src="<%- url_for("/images/feed.png") %>" style="width:15px;height:15px">
9+
<a href="<%- url_for("/atom.xml") %>" target="_blank" style="vertical-align: middle; margin-left: 5px;">
10+
<img src="<%- url_for("/images/feed.png") %>" style="width: 15px; height: 15px;">
1111
</a>
1212
</h2>
13-
<ul style="padding:0">
13+
<ul style="padding: 0;">
1414
<% site.posts.sort('date', -1).limit(10).each(function (post) { %>
1515
<li>
1616
<a href="/<%- post.path %>" class="sidebar-link<%- page.title === post.title ? ' current' : '' %>"><%- post.title %></a>

0 commit comments

Comments
 (0)