From e60c44e13a1e503563d7c3764b5303c8a4bff386 Mon Sep 17 00:00:00 2001 From: OnaMosimege Date: Fri, 19 Apr 2024 10:14:00 +0200 Subject: [PATCH] Change column sizes to 70/30 % for each institutions card --- app/static/css/styles.css | 23 ++++++++++++++++------- app/templates/app/institutions.html | 4 ++-- 2 files changed, 18 insertions(+), 9 deletions(-) diff --git a/app/static/css/styles.css b/app/static/css/styles.css index e643f389..0cd5d4c7 100755 --- a/app/static/css/styles.css +++ b/app/static/css/styles.css @@ -195,8 +195,11 @@ body { width: 100%; padding-right: 10px; } - .col-sm-6 { - width: 50%; + .left-col { + width: 70%; + } + .right-col { + width: 30%; } .uni-card { width: 98%; @@ -231,8 +234,11 @@ body { width: 100%; padding-right: 10px; } - .col-sm-6 { - width: 50%; + .left-col { + width: 70%; + } + .right-col { + width: 30%; } } @@ -253,9 +259,12 @@ body { float: left; padding-right: 10px; } - .col-sm-6 { - width: 50%; - } + .left-col { + width: 70%; + } + .right-col { + width: 30%; + } .uni-card { margin: 10px; width: 100%; diff --git a/app/templates/app/institutions.html b/app/templates/app/institutions.html index bbdff528..378a9783 100644 --- a/app/templates/app/institutions.html +++ b/app/templates/app/institutions.html @@ -8,7 +8,7 @@
-
+
{{ institution.name }}

{{ institution.abbreviation }} @@ -18,7 +18,7 @@

{{ institution.name }}


-
+

Profile completion: