@asd20/ui 3.2.397 → 3.2.398

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -5,7 +5,7 @@
5
5
  "*.scss",
6
6
  "*.vue"
7
7
  ],
8
- "version": "3.2.397",
8
+ "version": "3.2.398",
9
9
  "private": false,
10
10
  "license": "MIT",
11
11
  "repository": {
@@ -161,14 +161,14 @@ $accent: var(--color__accent);
161
161
  margin-top: space(0.125);
162
162
  display: block;
163
163
  font-size: 0.875rem;
164
- margin-left: space(0.375);
164
+ margin-left: space(0.5);
165
165
  }
166
166
  .location {
167
167
  display: block;
168
168
  margin-top: space(0.125);
169
169
  margin-bottom: 0;
170
170
  font-size: 0.875rem;
171
- margin-left: space(0.375);
171
+ margin-left: space(0.5);
172
172
  }
173
173
  }
174
174
  &--all-day {
@@ -17,6 +17,7 @@
17
17
  {{ title }}
18
18
  <span class="version" v-if="version" v-html="version"></span>
19
19
  </div>
20
+ <asd20-district-logo link="https://www.asd20.org"/>
20
21
  </h1>
21
22
  <slot />
22
23
  </header>
@@ -25,9 +26,11 @@
25
26
  <script>
26
27
  import Asd20Button from '../../atoms/Asd20Button'
27
28
  import Asd20Icon from '../../atoms/Asd20Icon'
29
+ import Asd20DistrictLogo from '../../atoms/Asd20DistrictLogo'
30
+
28
31
  export default {
29
32
  name: 'Asd20AppHeader',
30
- components: { Asd20Button, Asd20Icon },
33
+ components: { Asd20Button, Asd20Icon, Asd20DistrictLogo },
31
34
  props: {
32
35
  title: { type: String, default: '' },
33
36
  icon: { type: String, default: '' },
@@ -47,21 +50,28 @@ export default {
47
50
  display: flex;
48
51
  align-items: center;
49
52
  flex-shrink: 0;
50
- border-bottom: 1px solid var(--color__tertiary);
51
53
  background: white;
52
54
  flex-wrap: wrap;
55
+ border-bottom: 1px solid var(--color__tertiary);
53
56
 
54
57
  &__title {
55
58
  display: flex;
56
59
  align-items: center;
57
60
  flex-shrink: 0;
58
61
  padding: space(0.5) 0;
62
+ // width: 100vw;
63
+ // border-bottom: 1px solid var(--color__tertiary);
59
64
  }
60
65
 
61
66
  h1 {
62
67
  margin: 0;
63
68
  font-size: 1rem;
64
69
  color: var(--color__primary);
70
+ flex-grow: 1;
71
+ width: 100%;
72
+ border-bottom: 1px solid var(--color__tertiary);
73
+ display: flex;
74
+ align-items: center;
65
75
  .asd20-icon {
66
76
  margin: 0 space(0.5);
67
77
  }
@@ -145,6 +155,14 @@ export default {
145
155
 
146
156
  @media (max-width: 480px) {
147
157
  .asd20-app-header {
158
+ &__title {
159
+ display: flex;
160
+ align-items: center;
161
+ flex-shrink: 0;
162
+ padding: space(0.5) 0;
163
+ width: 100vw;
164
+ border-bottom: 1px solid var(--color__tertiary);
165
+ }
148
166
  }
149
167
  }
150
168
  </style>