diff --git a/anoncat-demo-app/app/anoncat/views.py b/anoncat-demo-app/app/anoncat/views.py index fa9ab9ca8..2fdd892ec 100644 --- a/anoncat-demo-app/app/anoncat/views.py +++ b/anoncat-demo-app/app/anoncat/views.py @@ -1,6 +1,5 @@ from django.shortcuts import render from medcat.cat import CAT -from medcat.utils.ner import deid_text from rest_framework.decorators import api_view from rest_framework.response import Response diff --git a/anoncat-demo-app/app/frontend/src/App.vue b/anoncat-demo-app/app/frontend/src/App.vue index dfc028115..87a7fc0cf 100644 --- a/anoncat-demo-app/app/frontend/src/App.vue +++ b/anoncat-demo-app/app/frontend/src/App.vue @@ -3,12 +3,12 @@
- CogStack + CogStack
- Anon + Anon - AT + AT
@@ -202,5 +202,87 @@ export default { } } +/* Mobile header adjustments */ +@media (max-width: 767px) { + .wrapper { + height: 120px !important; + } + + .title { + display: flex; + flex-direction: column; + align-items: center; + padding: 10px; + } + + .cs-title { + width: 100%; + text-align: center; + font-size: 24px; + margin-bottom: 5px; + } + + .cs-title .logo { + height: 32px; + } + + .app-title { + width: 100%; + padding: 0; + font-size: 36px; + text-align: center; + } + + .app-title .logo { + height: 36px; + } + + .help { + top: 10px; + right: 10px; + font-size: 20px; + } +} + +@media (min-width: 768px) and (max-width: 1023px) { + .wrapper { + height: 130px !important; + } + + .title { + display: flex; + flex-direction: column; + align-items: center; + padding: 15px 10px; + } + + .cs-title { + width: 100%; + text-align: center; + font-size: 28px; + margin-bottom: 8px; + } + + .cs-title .logo { + height: 40px; + } + + .app-title { + width: 100%; + padding: 0; + font-size: 48px; + text-align: center; + } + + .app-title .logo { + height: 48px; + } + + .help { + top: 15px; + right: 15px; + } +} + diff --git a/anoncat-demo-app/app/frontend/src/views/HomeView.vue b/anoncat-demo-app/app/frontend/src/views/HomeView.vue index 9dfb95ecb..77a26ea2a 100644 --- a/anoncat-demo-app/app/frontend/src/views/HomeView.vue +++ b/anoncat-demo-app/app/frontend/src/views/HomeView.vue @@ -1,25 +1,25 @@