Skip to content

Commit

Permalink
Merge branch 'master' into translations
Browse files Browse the repository at this point in the history
  • Loading branch information
wyattjoh authored May 31, 2018
2 parents f7899bc + 375ef09 commit 250a8ec
Show file tree
Hide file tree
Showing 11 changed files with 18 additions and 18 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,7 @@ th.header:nth-child(2), th.header:nth-child(3) {

.roleDropdown {
width: 150px;
text-align: left;
}

.roleOption {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ class People extends React.Component {
</td>
<td className="mdl-data-table__cell--non-numeric">
<Dropdown
className={cn(
toggleClassName={cn(
'talk-admin-community-people-dd-role',
styles.roleDropdown
)}
Expand Down
5 changes: 1 addition & 4 deletions client/coral-admin/src/routes/Stories/components/Stories.css
Original file line number Diff line number Diff line change
Expand Up @@ -92,9 +92,6 @@

.statusDropdown {
width: 150px;
}

.statusDropdownOption {
min-width: 100px;
text-align: left;
}

14 changes: 3 additions & 11 deletions client/coral-admin/src/routes/Stories/components/Stories.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,20 +22,12 @@ class Stories extends Component {
const closed = !!(closedAt && new Date(closedAt).getTime() < Date.now());
return (
<Dropdown
className={styles.statusDropdown}
toggleClassName={styles.statusDropdown}
value={closed}
onChange={value => this.props.onStatusChange(value, id)}
>
<Option
value={false}
label={t('streams.open')}
className={styles.statusDropdownOption}
/>
<Option
value={true}
label={t('streams.closed')}
className={styles.statusDropdownOption}
/>
<Option value={false} label={t('streams.open')} />
<Option value={true} label={t('streams.closed')} />
</Dropdown>
);
};
Expand Down
1 change: 1 addition & 0 deletions client/coral-ui/components/Dropdown.css
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
.dropdown {
display: inline-block;
position: relative;
}

Expand Down
1 change: 1 addition & 0 deletions client/coral-ui/components/Option.css
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
.option {
min-width: 100px;
width: 100%;
padding: 10px;
outline: none;
Expand Down
2 changes: 1 addition & 1 deletion views/auth-callback.njk
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
{% include "partials/data.njk" %}
</head>
<body>
<script type="application/json" id="auth">{{ encodeJSONForHTML(auth) }}</script>
<script type="application/json" id="auth">{{ encodeJSONForHTML(auth) | safe }}</script>
<script type="text/javascript" src="{{ resolve('coral-auth-callback/bundle.js') }}"></script>
</body>
</html>
3 changes: 3 additions & 0 deletions views/embed/stream.njk
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@
{% block css %}
<link href="{{ resolve('embed/stream/default.css')}}" rel="stylesheet">
<link href="{{ resolve('embed/stream/bundle.css')}}" rel="stylesheet">

{# Custom CSS is included after the CSS block so that its overrides will apply #}
{% include "partials/custom-css.njk" %}
{% endblock %}

{% block html %}
Expand Down
3 changes: 3 additions & 0 deletions views/login.njk
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@

{% block css %}
<link href="{{ resolve('coral-login/bundle.css')}}" rel="stylesheet">

{# Custom CSS is included after the CSS block so that its overrides will apply #}
{% include "partials/custom-css.njk" %}
{% endblock %}

{% block html %}
Expand Down
3 changes: 3 additions & 0 deletions views/templates/account.njk
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,7 @@
{% block css %}
<link rel="stylesheet" href="https://code.getmdl.io/1.2.1/material.indigo-pink.min.css">
<link rel="stylesheet" href="{{ BASE_PATH }}public/css/admin.css">

{# Custom CSS is included after the CSS block so that its overrides will apply #}
{% include "partials/custom-css.njk" %}
{% endblock %}
1 change: 0 additions & 1 deletion views/templates/base.njk
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
<link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet">
<link href="https://fonts.googleapis.com/css?family=Source+Sans+Pro:400,600" rel="stylesheet">
{% include "partials/custom-css.njk" %}
{% block css %}{% endblock %}

{# Static data injection #}
Expand Down

0 comments on commit 250a8ec

Please sign in to comment.