Skip to content

Commit

Permalink
Merge pull request #880 from TyVik/small_issues
Browse files Browse the repository at this point in the history
Small UI issues
  • Loading branch information
TyVik committed Oct 9, 2022
2 parents 29da972 + 84be0ea commit f0181c7
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion frontend/games/components/Infobox/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
align-items: center;
}

.infobox-header .collapse-icon {
.infobox-header i {
cursor: pointer;
}

Expand Down
2 changes: 1 addition & 1 deletion frontend/workshop/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ class Workshop extends React.Component {
}, 300);

loadOptions = (field, inputValue, callback) => {
if ((inputValue === '') && (field !== 'tag')) {
if ((inputValue === '') && (field !== 'tag') && (field !== 'user')) {
return callback([]);
}
defer(async () => {
Expand Down
2 changes: 1 addition & 1 deletion static/css/base.css
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ nav.menu {
}

.donate-button iframe {
max-width: 185px;
max-width: 190px;
}

.patreon-widget {
Expand Down
3 changes: 2 additions & 1 deletion templates/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@

{% share_image request game %}
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" integrity="sha384-1BmE4kWBq78iYhFldvKuhfTAU6auU8tT94WrHftjDbrCEXSU1oBoqyl2QvZ6jIW3" crossorigin="anonymous">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-social/5.1.1/bootstrap-social.min.css" integrity="sha512-f8mUMCRNrJxPBDzPJx3n+Y5TC5xp6SmStstEfgsDXZJTcxBakoB5hvPLhAfJKa9rCvH+n3xpJ2vQByxLk4WP2g==" crossorigin="anonymous" referrerpolicy="no-referrer" />
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.7.2/css/all.css" integrity="sha384-fnmOCqbTlWIlj8LyTjo7mOUStjsKC4pOpQbqyi7RrhN7udi9RwhKkMHpvLbHG9Sr" crossorigin="anonymous">
<link rel="stylesheet" type="text/css" href="{% static 'css/base.css' %}">
{% block head_js %}
Expand Down Expand Up @@ -46,7 +47,7 @@
<a class="nav-link" href="{% url 'workshop' %}">{% trans 'Workshop' %}</a>
</li>
<li class="donate-button nav-item mx-2">
<iframe src="https://www.patreon.com/platform/iframe?widget=become-patron-button&amp;redirectURI=http%3A%2F%2F127.0.0.1%3A8002%2Fpuzzle%2Fworkshop%2F&amp;creatorID=11576139" class="patreon-widget" title="Patreon Widget" style="position: static; visibility: visible; height: 35px;"></iframe>
<iframe src="https://www.patreon.com/platform/iframe?widget=become-patron-button&amp;redirectURI=http%3A%2F%2F127.0.0.1%3A8002%2Fpuzzle%2Fworkshop%2F&amp;creatorID=11576139" class="patreon-widget" title="Patreon Widget" style="position: static; visibility: visible; height: 36px;"></iframe>
</li>
</ul>
<ul class="nav navbar-nav">
Expand Down

0 comments on commit f0181c7

Please sign in to comment.