From e7d7702e255df6c72d240fec8b5b77992e7f315a Mon Sep 17 00:00:00 2001 From: Muhammed Mustafa Date: Mon, 6 Jun 2022 08:43:48 +0200 Subject: [PATCH] fix(client-UI): view button takes full width (#45964) * added class to td so it takes full width * added width 100% to dropbox components * removed excessive code * limit the max space dropdown takes * `view` takes the same size as `show-solution` * undo previous change * view takes the same size as show-solution * fix: static width for buttons on small screen * fix: remove max-width cause iocd Co-authored-by: moT01 <20648924+moT01@users.noreply.github.com> --- .../src/components/settings/certification.js | 5 ++-- .../solution-display-widget/index.tsx | 30 ++++++++++--------- 2 files changed, 19 insertions(+), 16 deletions(-) diff --git a/client/src/components/settings/certification.js b/client/src/components/settings/certification.js index 60db0661773..54027261b95 100644 --- a/client/src/components/settings/certification.js +++ b/client/src/components/settings/certification.js @@ -264,10 +264,10 @@ export class CertificationSettings extends Component { return projectsMap[certName] .map(({ link, title, id }) => ( - + {title} - + {this.getProjectSolution(id, title)} @@ -278,6 +278,7 @@ export class CertificationSettings extends Component {