Skip to content
This repository was archived by the owner on Feb 6, 2024. It is now read-only.

Commit 34d300c

Browse files
style: ionic style
1 parent aac2645 commit 34d300c

File tree

7 files changed

+13
-14
lines changed

7 files changed

+13
-14
lines changed

studio/src/app/components/core/app-footer/app-footer.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ export class AppFooter {
1010
render() {
1111
return [
1212
<hr margin/>,
13-
<div padding-start padding-end margin-bottom>
13+
<div class="ion-padding-start ion-padding-end ion-margin-bottom">
1414
<ion-anchor href="/about" routerDirection="forward">
1515
<ion-label>About</ion-label>
1616
</ion-anchor>

studio/src/app/components/core/app-menu-user/app-menu-user.tsx

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -213,8 +213,7 @@ export class AppMenuUser {
213213

214214
<ion-item-divider>
215215
<ion-label>Presentations</ion-label>
216-
<ion-button size="small" slot="end" shape="round" margin-end onClick={() => this.navigateNewDeck()}
217-
class="new">
216+
<ion-button size="small" slot="end" shape="round" onClick={() => this.navigateNewDeck()} class="new ion-margin-end">
218217
<ion-icon name="book" slot="start"></ion-icon>
219218
<ion-label>New</ion-label>
220219
</ion-button>
@@ -266,7 +265,7 @@ export class AppMenuUser {
266265
private renderDecksFilter() {
267266
return <ion-searchbar debounce={500} animated placeholder="Filter your presentations"
268267
onIonChange={(e: CustomEvent) => this.filterDecksOnChange(e)}
269-
ion-no-padding ion-margin-top ion-margin-bottom></ion-searchbar>;
268+
class="ion-no-padding ion-margin-top ion-margin-bottom"></ion-searchbar>;
270269
}
271270

272271
private renderDecks() {

studio/src/app/components/core/app-navigation-actions/app-navigation-actions.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -79,15 +79,15 @@ export class AppNavigationActions {
7979
if (Utils.isLoggedIn(this.authUser) || !this.signIn) {
8080
return undefined;
8181
} else if (this.presentation || this.publish) {
82-
return <a padding-start padding-end class="signin" onClick={() => this.navigateSignIn()}>
82+
return <a class="signin ion-padding-start ion-padding-end" onClick={() => this.navigateSignIn()}>
8383
<ion-label>Sign in</ion-label>
8484
</a>;
8585
}
8686
}
8787

8888
private renderLoggedIn() {
8989
if (Utils.isLoggedIn(this.authUser)) {
90-
return <a padding-end onClick={(e: UIEvent) => this.openMenu(e)}>
90+
return <a class="ion-padding-end" onClick={(e: UIEvent) => this.openMenu(e)}>
9191
<app-avatar src={this.authUser.photo_url}></app-avatar>
9292
</a>;
9393
} else {
@@ -97,7 +97,7 @@ export class AppNavigationActions {
9797

9898
private renderPresentationButton() {
9999
if (this.presentation) {
100-
return <ion-button class="presentation" shape="round" href="/editor" routerDirection="forward" padding-end>
100+
return <ion-button class="presentation ion-padding-end" shape="round" href="/editor" routerDirection="forward">
101101
<ion-label class="ion-text-uppercase">Write a presentation</ion-label>
102102
</ion-button>;
103103
} else {
@@ -107,7 +107,7 @@ export class AppNavigationActions {
107107

108108
private renderPublishButton() {
109109
if (this.publish) {
110-
return <ion-button class="publish" shape="round" onClick={() => this.actionPublish.emit()} padding-end>
110+
return <ion-button class="publish ion-padding-end" shape="round" onClick={() => this.actionPublish.emit()}>
111111
<ion-label class="ion-text-uppercase">Ready to publish?</ion-label>
112112
</ion-button>;
113113
} else {

studio/src/app/components/feed/card/app-feed-card/app-feed-card.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ export class AppFeedCard {
157157
</ion-card-subtitle>
158158
</ion-card-header>
159159

160-
<p padding-start padding-end class="content" contentEditable={this.editable}>{this.description}</p>
160+
<p class="content ion-padding-start ion-padding-end" contentEditable={this.editable}>{this.description}</p>
161161

162162
<p class="author" padding>
163163
<ion-label>{this.author} | {this.formattedPublication}</ion-label>

studio/src/app/pages/core/about/app-privacy/app-privacy.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ export class AppAbout {
2323

2424
<p>The information we collect about all visitors to our website includes:</p>
2525

26-
<ul padding-start>
26+
<ul class="ion-padding-start">
2727
<li>The visitor’s browser type</li>
2828
<li>Referring site</li>
2929
<li>The date and time of each visitor request</li>
@@ -32,15 +32,15 @@ export class AppAbout {
3232

3333
<p>We use this information to:</p>
3434

35-
<ul padding-start>
35+
<ul class="ion-padding-start">
3636
<li>Provide, test, improve, promote and personalize DeckDeckGo Services</li>
3737
<li>Fight spam and other forms of abuse</li>
3838
<li>Generate aggregate, non-identifying information about how people use DeckDeckGo Services</li>
3939
</ul>
4040

4141
<p>In order for you to create an account on DeckDeckGo and use our Services, we need to collect and process certain information. Depending on your use of the Services, that may include:</p>
4242

43-
<ul padding-start>
43+
<ul class="ion-padding-start">
4444
<li>Communications you send to us (for example, when you ask for support, send us questions or comments, or report a problem);</li>
4545
<li>Information that you submit on or to DeckDeckGo in the form of reactions, comments, or messages to other users;</li>
4646
<li>The email address associated with your Twitter account, if you choose to sign up using your Twitter credentials. DeckDeckGo will also request permission to access additional information (these permissions are governed by Twitter’s privacy policies and can be managed through your Twitter privacy settings). We never post anything to your Twitter without your permission.</li>

studio/src/app/pages/core/about/app-terms/app-terms.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ export class AppAbout {
2121

2222
<p>a. Permission is granted to temporarily download one copy of the materials (information or software) on DeckDeckGo's web site and platform for personal or commercial viewing only. This is the grant of a license, not a transfer of title, and under this license you may not:</p>
2323

24-
<ul padding-start>
24+
<ul class="ion-padding-start">
2525
<li>modify or copy the materials;</li>
2626
<li>attempt to decompile or reverse engineer any software contained on DeckDeckGo's web site;</li>
2727
<li>remove any copyright or other proprietary notations from the materials; or</li>

studio/src/components.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@
88
import '@stencil/core';
99

1010
import '@ionic/core';
11-
import 'ionicons';
1211
import 'deckdeckgo';
1312
import 'deckdeckgo-inline-editor';
13+
import 'ionicons';
1414
import {
1515
EventEmitter,
1616
} from '@stencil/core';

0 commit comments

Comments
 (0)