nick5363 commited on
Commit
686c3fd
·
verified ·
1 Parent(s): fbe8c41

Update index.html

Browse files
Files changed (1) hide show
  1. index.html +25 -11
index.html CHANGED
@@ -66,16 +66,30 @@
66
  max-width: 415px;
67
  margin: 0 auto;
68
  }
69
- .tabs {
70
- position: fixed;
71
- bottom: 0;
72
- width: 100%;
73
- background-color: #1a1a1a;
74
- display: flex;
75
- justify-content: space-around;
76
- padding: 10px 0;
77
- border-top: 1px solid #333;
78
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
79
  .tabs button {
80
  background-color: transparent;
81
  color: #888;
@@ -83,7 +97,7 @@
83
  padding: 4px 2px;
84
  cursor: pointer;
85
  font-size: 0.40rem;
86
- flex: 1;
87
  margin: 0 5px;
88
  white-space: nowrap;
89
  }
 
66
  max-width: 415px;
67
  margin: 0 auto;
68
  }
69
+ .tabs {
70
+ position: fixed;
71
+ bottom: 0;
72
+ width: 100%;
73
+ background-color: #1a1a1a;
74
+ display: flex;
75
+ flex-wrap: nowrap;
76
+ overflow-x: auto;
77
+ overflow-y: hidden;
78
+ white-space: nowrap;
79
+ padding: 10px 0;
80
+ border-top: 1px solid #333;
81
+ scrollbar-width: thin; /* Firefox */
82
+ scrollbar-color: #555 #1a1a1a; /* Firefox */
83
+ }
84
+
85
+ .tabs::-webkit-scrollbar {
86
+ height: 6px;
87
+ }
88
+
89
+ .tabs::-webkit-scrollbar-thumb {
90
+ background: #555;
91
+ border-radius: 3px;
92
+ }
93
  .tabs button {
94
  background-color: transparent;
95
  color: #888;
 
97
  padding: 4px 2px;
98
  cursor: pointer;
99
  font-size: 0.40rem;
100
+ flex: 0 0 auto;
101
  margin: 0 5px;
102
  white-space: nowrap;
103
  }