Bläddra i källkod

fix(chat): show focus on chat

Signed-off-by: Joshua Irmer <irmer@gonicus.de>
factor2
Joshua Irmer 7 månader sedan
förälder
incheckning
459b5372d1
1 ändrade filer med 11 tillägg och 1 borttagningar
  1. 11
    1
      css/_chat.scss

+ 11
- 1
css/_chat.scss Visa fil

@@ -1,5 +1,8 @@
1
+@use './variables';
2
+
1 3
 #chat-conversation-container {
2 4
     // extract message input height
5
+    box-sizing: border-box;
3 6
     height: calc(100% - 64px);
4 7
     overflow: hidden;
5 8
     position: relative;
@@ -9,7 +12,7 @@
9 12
     box-sizing: border-box;
10 13
     flex: 1;
11 14
     font-size: 10pt;
12
-    height: 100%;
15
+    height: calc(100% - 10px);
13 16
     line-height: 20px;
14 17
     overflow: auto;
15 18
     padding: 16px;
@@ -19,6 +22,13 @@
19 22
     display: flex;
20 23
     flex-direction: column;
21 24
 
25
+    &.focus-visible {
26
+        outline: 0;
27
+        margin: 4px;
28
+        border-radius: 0 0 variables.$borderRadius variables.$borderRadius;
29
+        box-shadow: 0px 0px 0px 2px #4687ed; // focus01/primary07
30
+    }
31
+
22 32
     & > :first-child {
23 33
         margin-top: auto;
24 34
     }

Laddar…
Avbryt
Spara