File tree Expand file tree Collapse file tree 2 files changed +13
-9
lines changed Expand file tree Collapse file tree 2 files changed +13
-9
lines changed Original file line number Diff line number Diff line change @@ -1220,3 +1220,11 @@ i.icon.centerlock {
1220
1220
.ui.attached.segment + .ui.attached.header {
1221
1221
margin-top : 1rem ;
1222
1222
}
1223
+
1224
+ /* limit width of all direct dropdown menu children */
1225
+ /* https://github.com/go-gitea/gitea/pull/10835 */
1226
+ .dropdown > .menu > * {
1227
+ max-width : 300px ;
1228
+ overflow-x : hidden ;
1229
+ text-overflow : ellipsis ;
1230
+ }
Original file line number Diff line number Diff line change 155
155
& .labels {
156
156
.label-filter .menu .info {
157
157
display : inline-block ;
158
- padding : 9px 7px 7px 7px ;
159
- text-align : center ;
158
+ padding : .5rem .25rem ;
160
159
border-bottom : 1px solid #cccccc ;
161
160
font-size : 12px ;
161
+ width : 100% ;
162
+ white-space : nowrap ;
163
+ text-align : center ;
162
164
163
165
code {
164
166
border : 1px solid #cccccc ;
165
167
border-radius : 3px ;
166
- padding : 3 px 2 px 1px 2px ;
168
+ padding : 1px 2px ;
167
169
font-size : 11px ;
168
170
}
169
171
}
187
189
}
188
190
189
191
.select-label {
190
- .item {
191
- max-width : 250px ;
192
- overflow : hidden ;
193
- text-overflow : ellipsis ;
194
- }
195
-
196
192
.desc {
197
193
padding-left : 16px ;
198
194
}
You can’t perform that action at this time.
0 commit comments