Jonas Wiesli commited on
Commit
332919d
1 Parent(s): fc5e389

adjusted before & after

Browse files
Files changed (2) hide show
  1. app.py +3 -2
  2. style.css +5 -2
app.py CHANGED
@@ -18,8 +18,9 @@ css = "@import url(https://fonts.googleapis.com/css2?family=Silkscreen:wght@400;
18
  "margin-right:10px}.bot.svelte-a99nd8.svelte-a99nd8{" \
19
  "padding-left:15px;margin-left:10px}.bot.svelte-a99nd8.svelte-a99nd8::before," \
20
  ".user.svelte-a99nd8.svelte-a99nd8::after{" \
21
- "content:"";width:10px;height:10px;position:absolute;bottom:0;background-color:#fff}.bot.svelte-a99nd8.svelte" \
22
- "-a99nd8::before{left:-10px}.user.svelte-a99nd8.svelte-a99nd8::after{right:-10px}textarea{" \
 
23
  "background-color:#fff}#component-48,#component-51{position:absolute;left:50%;top:50%;transform:translateX(" \
24
  "-50%) translateY(-50%);width:50%;height:50vh;padding:80px 20px 20px;background-color:#fff;border:1px solid " \
25
  "#002366}#component-49{position:initial}#component-50,#component-62{" \
 
18
  "margin-right:10px}.bot.svelte-a99nd8.svelte-a99nd8{" \
19
  "padding-left:15px;margin-left:10px}.bot.svelte-a99nd8.svelte-a99nd8::before," \
20
  ".user.svelte-a99nd8.svelte-a99nd8::after{" \
21
+ "content:\"\";width:10px;height:10px;position:absolute;bottom:0;border:1px solid var(" \
22
+ "--color-border-accent);background-color:var(--color-accent-soft)}.bot.svelte-a99nd8.svelte-a99nd8::before{" \
23
+ "left:-10px;border-right:0}.user.svelte-a99nd8.svelte-a99nd8::after{right:-10px;border-left:0}textarea{" \
24
  "background-color:#fff}#component-48,#component-51{position:absolute;left:50%;top:50%;transform:translateX(" \
25
  "-50%) translateY(-50%);width:50%;height:50vh;padding:80px 20px 20px;background-color:#fff;border:1px solid " \
26
  "#002366}#component-49{position:initial}#component-50,#component-62{" \
style.css CHANGED
@@ -52,20 +52,23 @@
52
  }
53
 
54
  .bot.svelte-a99nd8.svelte-a99nd8::before, .user.svelte-a99nd8.svelte-a99nd8::after {
55
- content: "";
56
  width: 10px;
57
  height: 10px;
58
  position: absolute;
59
  bottom: 0;
60
- background-color: #fff;
 
61
  }
62
 
63
  .bot.svelte-a99nd8.svelte-a99nd8::before {
64
  left: -10px;
 
65
  }
66
 
67
  .user.svelte-a99nd8.svelte-a99nd8::after {
68
  right: -10px;
 
69
  }
70
 
71
  textarea {
 
52
  }
53
 
54
  .bot.svelte-a99nd8.svelte-a99nd8::before, .user.svelte-a99nd8.svelte-a99nd8::after {
55
+ content: \"\";
56
  width: 10px;
57
  height: 10px;
58
  position: absolute;
59
  bottom: 0;
60
+ border: 1px solid var(--color-border-accent);
61
+ background-color: var(--color-accent-soft);
62
  }
63
 
64
  .bot.svelte-a99nd8.svelte-a99nd8::before {
65
  left: -10px;
66
+ border-right: 0;
67
  }
68
 
69
  .user.svelte-a99nd8.svelte-a99nd8::after {
70
  right: -10px;
71
+ border-left: 0;
72
  }
73
 
74
  textarea {