Tristan commited on
Commit
0948381
·
1 Parent(s): b779be4

Fix tooltip spacing - make alternatives closer together

Browse files
Files changed (1) hide show
  1. static/css/style.css +5 -5
static/css/style.css CHANGED
@@ -214,7 +214,7 @@ button:active {
214
  transform: translateX(-50%) translateY(-10px);
215
  background: #2c3e50;
216
  color: white;
217
- padding: 12px;
218
  border-radius: 8px;
219
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
220
  z-index: 1000;
@@ -244,18 +244,18 @@ button:active {
244
  .tooltip-header {
245
  font-weight: 700;
246
  font-size: 0.9em;
247
- margin-bottom: 10px;
248
  color: #ecf0f1;
249
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
250
- padding-bottom: 6px;
251
  }
252
 
253
  .tooltip-item {
254
  display: flex;
255
  align-items: center;
256
  justify-content: space-between;
257
- padding: 8px 6px;
258
- margin: 4px 0;
259
  border-radius: 4px;
260
  background: rgba(255, 255, 255, 0.05);
261
  transition: background 0.2s ease;
 
214
  transform: translateX(-50%) translateY(-10px);
215
  background: #2c3e50;
216
  color: white;
217
+ padding: 10px;
218
  border-radius: 8px;
219
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
220
  z-index: 1000;
 
244
  .tooltip-header {
245
  font-weight: 700;
246
  font-size: 0.9em;
247
+ margin-bottom: 8px;
248
  color: #ecf0f1;
249
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
250
+ padding-bottom: 4px;
251
  }
252
 
253
  .tooltip-item {
254
  display: flex;
255
  align-items: center;
256
  justify-content: space-between;
257
+ padding: 6px 8px;
258
+ margin: 2px 0;
259
  border-radius: 4px;
260
  background: rgba(255, 255, 255, 0.05);
261
  transition: background 0.2s ease;