Skip to content

Commit

Permalink
Merge pull request #108 from petridishdev/word-wrap
Browse files Browse the repository at this point in the history
Fixes showcase tile word wrapping. Other style fixes
  • Loading branch information
WadeBarnes authored Dec 27, 2021
2 parents 3f67ce1 + a07c0e7 commit 5c080e1
Show file tree
Hide file tree
Showing 6 changed files with 19 additions and 8 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "orgbook-bc-client-vue",
"name": "orgbook-bc-client",
"version": "0.1.0",
"private": true,
"scripts": {
Expand Down
5 changes: 4 additions & 1 deletion src/components/about/ShowcaseLinks.vue
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
>
<v-card elevation="0" rounded="sm" class="card">
<v-card-title class="font-weight-bold">
<router-link :to="showcaseLink.path">
<router-link class="showcase-link" :to="showcaseLink.path">
{{
(showcaseLink.data && showcaseLink.data.showcaseTitle) ||
showcaseLink.name
Expand Down Expand Up @@ -42,4 +42,7 @@ export default class ShowcaseLinks extends Vue {}
@include card;
height: 100%;
}
.showcase-link {
word-break: break-word;
}
</style>
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<v-card rounded="sm" class="mb-5 card">
<v-card-title class="pa-5 pb-0">
<p class="text-h6 font-weight-bold">
<v-icon class="validated" v-if="!credRevoked">{{
<v-icon class="validated pb-1" v-if="!credRevoked">{{
mdiShieldCheckOutline
}}</v-icon>
<span>{{ `${currCredTypeDesc} credential` }}</span
Expand Down
2 changes: 1 addition & 1 deletion src/components/search/SearchBar.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<template>
<div :class="{ 'pt-10 pb-10': $vuetify.breakpoint.mdAndUp }">
<div :class="{ 'pt-4 pb-10': $vuetify.breakpoint.mdAndUp }">
<p class="font-weight-bold mb-1" v-if="$vuetify.breakpoint.mdAndUp">
Find an organization
</p>
Expand Down
8 changes: 4 additions & 4 deletions src/views/Search.vue
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<template>
<div>
<div class="search-bar">
<v-container :fluid="$vuetify.breakpoint.smAndDown" class="pa-5">
<v-container :fluid="$vuetify.breakpoint.smAndDown" class="pa-3">
<v-row>
<v-col class="d-flex flex-column flex-grow-1 ml-n3" cols="12" md="9">
<v-col class="d-flex flex-column flex-grow-1" cols="12" md="9">
<p
class="
font-weight-normal
Expand All @@ -13,9 +13,9 @@
>
A public directory of organizations registered in BC
</p>
<SearchBar :query="q" />
<SearchBar :query="q" class="flex-grow-1" />
</v-col>
<v-col class="flex-grow-0 pt-0 pb-0 ml-n3" cols="12" md="3">
<v-col class="flex-grow-0 pt-0 pb-0" cols="12" md="3">
<SearchDescription
class="pt-4"
v-if="$vuetify.breakpoint.mdAndUp"
Expand Down
8 changes: 8 additions & 0 deletions vue.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,16 @@ module.exports = {
proxy: {
"/api": {
target: "https://orgbook.gov.bc.ca",
// target: "http://localhost:8080",
},
},
},
},
pwa: {
name: "OrgBook BC",
themeColor: "#003366",
msTileColor: "#000000",
appleMobileWebAppCapable: "yes",
appleMobileWebAppStatusBarStyle: "003366",
},
};

0 comments on commit 5c080e1

Please sign in to comment.