helmfridsson commited on
Commit
7d0be41
·
verified ·
1 Parent(s): 92ab275

Update style.css

Browse files
Files changed (1) hide show
  1. style.css +9 -7
style.css CHANGED
@@ -30,12 +30,14 @@ h1, h2, h3, label, p, span ,li {
30
  ===================================================== */
31
 
32
  .card {
33
- background: #ffffff !important;
34
- border: 2px solid #1e5bd7 !important;
35
- border-radius: 16px;
36
- padding: 12px 18px;
37
- font-weight: 600;
38
- color: #000000 !important;
 
 
39
  }
40
 
41
  .card:hover {
@@ -91,7 +93,7 @@ h1, h2, h3, label, p, span ,li {
91
  .message-box,
92
  .message-box .wrap,
93
  .message-box .prose,
94
- .message-box .markdown-body
95
  .message-box.gr-box {
96
  background: transparent !important;
97
  border: none !important;
 
30
  ===================================================== */
31
 
32
  .card {
33
+ width: 260px; /* lås bredd */
34
+ height: 64px; /* lås höjd */
35
+ display: flex;
36
+ align-items: center; /* vertikal centrering */
37
+ justify-content: center;/* horisontell centrering */
38
+ text-align: center;
39
+ white-space: normal; /* tillåt radbrytning */
40
+ line-height: 1.2;
41
  }
42
 
43
  .card:hover {
 
93
  .message-box,
94
  .message-box .wrap,
95
  .message-box .prose,
96
+ .message-box .markdown-body,
97
  .message-box.gr-box {
98
  background: transparent !important;
99
  border: none !important;