mirror of
https://github.com/foss42/apidash.git
synced 2025-09-21 04:22:50 +08:00
fix: codepane and response copy download button overflow issue
This commit is contained in:
@ -5,7 +5,7 @@ bool showButtonLabelsInBodySuccess(int options, double maxWidth) {
|
||||
case 1:
|
||||
return (maxWidth < 300) ? false : true;
|
||||
case 2:
|
||||
return (maxWidth < 400) ? false : true;
|
||||
return (maxWidth < 430) ? false : true;
|
||||
case 3:
|
||||
return (maxWidth < 500) ? false : true;
|
||||
default:
|
||||
@ -14,5 +14,5 @@ bool showButtonLabelsInBodySuccess(int options, double maxWidth) {
|
||||
}
|
||||
|
||||
bool showButtonLabelsInViewCodePane(double maxWidth) {
|
||||
return (maxWidth < 400) ? false : true;
|
||||
return (maxWidth < 450) ? false : true;
|
||||
}
|
||||
|
Reference in New Issue
Block a user