From d5b85e0c249439764be01ebcecf38d0d99920baa Mon Sep 17 00:00:00 2001 From: amrita.vishnoi Date: Fri, 14 Oct 2016 13:02:52 +0530 Subject: [PATCH] All images are of different size so created a class to make all of them in same size. --- 400-SOURCECODE/AIAHTML5.Web/app/controllers/TinyViewListController.js | 4 ++-- 400-SOURCECODE/AIAHTML5.Web/content/css/main.css | 4 ++++ 400-SOURCECODE/AIAHTML5.Web/themes/default/css/bootstrap/3.3.6/main.css | 12 ++++++++++++ 3 files changed, 18 insertions(+), 2 deletions(-) diff --git a/400-SOURCECODE/AIAHTML5.Web/app/controllers/TinyViewListController.js b/400-SOURCECODE/AIAHTML5.Web/app/controllers/TinyViewListController.js index 54e365c..06f0061 100644 --- a/400-SOURCECODE/AIAHTML5.Web/app/controllers/TinyViewListController.js +++ b/400-SOURCECODE/AIAHTML5.Web/app/controllers/TinyViewListController.js @@ -33,9 +33,9 @@ function ($scope, $rootScope, $compile, $http, $log, $location, $timeout, Module angular.forEach($scope.data, function (value, key) { $scope.imagePath = "~/../content/images/aa/thumbnails/" + value._TinyImageName; - var $el = $('
' + var $el = $('
' + '
' - + '' + + '' + '

' + value._Title + '

').appendTo('#grid-view'); diff --git a/400-SOURCECODE/AIAHTML5.Web/content/css/main.css b/400-SOURCECODE/AIAHTML5.Web/content/css/main.css index 0065ce3..62f5369 100644 --- a/400-SOURCECODE/AIAHTML5.Web/content/css/main.css +++ b/400-SOURCECODE/AIAHTML5.Web/content/css/main.css @@ -698,3 +698,7 @@ textarea { .ciView { } +.parent { + width: 100px; +} + diff --git a/400-SOURCECODE/AIAHTML5.Web/themes/default/css/bootstrap/3.3.6/main.css b/400-SOURCECODE/AIAHTML5.Web/themes/default/css/bootstrap/3.3.6/main.css index 4fe581a..771c4a7 100644 --- a/400-SOURCECODE/AIAHTML5.Web/themes/default/css/bootstrap/3.3.6/main.css +++ b/400-SOURCECODE/AIAHTML5.Web/themes/default/css/bootstrap/3.3.6/main.css @@ -863,4 +863,16 @@ cursor:pointer; .annotationtoolbartab { background:#626c34 !important; +} +.tinyImg { + width: 173px; + height: 216px !important; +} + +.abc { + display: block; + max-width:230px; + max-height:95px; + width: auto; + height: auto; } \ No newline at end of file -- libgit2 0.21.4