about summary refs log tree commit diff
path: root/components/GoogleDriveLink.vue
diff options
context:
space:
mode:
authorPatryk Niedźwiedziński <pniedzwiedzinski19@gmail.com>2019-12-30 19:33:03 +0100
committerPatryk Niedźwiedziński <pniedzwiedzinski19@gmail.com>2019-12-30 19:33:03 +0100
commit39df4184fb4dc2d5117592b4025dea94433361f0 (patch)
tree62a259f33e2c57049fa0c4740c74c08fd68a5c93 /components/GoogleDriveLink.vue
parent43d71a71cce9354f1d7a6ca84e3b583b9fbf5001 (diff)
downloadpuszcza-39df4184fb4dc2d5117592b4025dea94433361f0.tar.gz
puszcza-39df4184fb4dc2d5117592b4025dea94433361f0.zip
Fix break on hyphen
Diffstat (limited to 'components/GoogleDriveLink.vue')
-rw-r--r--components/GoogleDriveLink.vue15
1 files changed, 8 insertions, 7 deletions
diff --git a/components/GoogleDriveLink.vue b/components/GoogleDriveLink.vue
index 96e3fbb..dc21d9e 100644
--- a/components/GoogleDriveLink.vue
+++ b/components/GoogleDriveLink.vue
@@ -4,9 +4,7 @@
       <img src="/assets/google-drive.png" alt="Drive" />
     </div>
     <div class="text">
-      <p>
-        {{ text }}
-      </p>
+      <p v-html="text"></p>
     </div>
     <a :href="link">
       <plain-button text="Przejdź" />
@@ -45,8 +43,6 @@ export default {
   flex-direction: column;
   align-items: center;
   justify-content: center;
-
-  min-width: 400px;
 }
 
 .google-drive-link .text {
@@ -75,10 +71,9 @@ export default {
   margin: 0 20%;
 }
 
-@media (min-width: 480px) {
+@media (min-width: 530px) {
   .google-drive-link {
     flex-direction: row;
-    width: 100%;
   }
 
   .google-drive-link .text {
@@ -106,4 +101,10 @@ export default {
     width: 20%;
   }
 }
+
+@media (min-width: 960px) {
+  .google-drive-link {
+    width: 100%;
+  }
+}
 </style>