Skip to content

Commit

Permalink
Style fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
sGerli committed Aug 5, 2019
1 parent 76b9edc commit e73b5f3
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 9 deletions.
8 changes: 7 additions & 1 deletion src/components/Navbar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,10 @@ export default {
margin: 0;
position: relative;
top: 2px;
@media screen and (min-width: 768px) {
margin-right: auto;
margin-left: auto;
}
// Make text smaller on small screens
@media screen and (max-width: 430px) {
Expand All @@ -119,7 +123,9 @@ export default {
// Items in the right
&.right {
margin-left: auto;
@media screen and (max-width: 767px) {
margin-left: auto;
}
// Search Icon
.search a {
Expand Down
17 changes: 9 additions & 8 deletions src/components/pages/widgets/AppTitleBar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,14 @@
</div>

<div class="app-button-container float-right">
<button type="button" v-bind:class="heartClass" v-on:click="toggle_heart_button_state">
<svg class="svg-icon icon-thumbs-up" width="25px" height="25px" viewBox="0 0 25 25">
<use xlink:href="#iconThumbsUp"></use>
</svg>
<button type="button" v-bind:class="heartClass" v-on:click="toggle_heart_button_state" ref="heartsButton">
<svg class="svg-icon icon-thumbs-up" width="25px" height="25px" viewBox="0 0 25 25">
<use xlink:href="#iconThumbsUp"></use>
</svg>

{{ hearts }}
{{ hearts }}
</button>
<get-app-button v-bind:app="app" v-bind:state="added"></get-app-button>
<get-app-button v-bind:app="app" v-bind:state="added" ref="addButton"></get-app-button>
</div>
</div>
<div class="card subsection-extra card-inverse text-left p-2" v-if=" app.companions != undefined && (app.companions.ios != null || app.companions.android != null) && app.type != 'watchface'">
Expand Down Expand Up @@ -198,9 +198,10 @@ export default {
padding-left: 5px;
margin-top: 2px;
margin-bottom: 2px;
min-width: 196px;
min-width: 206px;
text-align: right;
@media screen and (max-width: 430px) {
min-width: 146px;
min-width: 156px;
}
.btn {
@media screen and (max-width: 430px) {
Expand Down

0 comments on commit e73b5f3

Please sign in to comment.