From 2864514933c45e53960e7121d837bfb058da3033 Mon Sep 17 00:00:00 2001 From: Kyle Drake Date: Sun, 30 Jun 2019 14:50:38 -0700 Subject: [PATCH] fix admin display for browse --- .../_project-Website-Gallery.scss | 30 ++++++++++++------- views/browse.erb | 21 ------------- 2 files changed, 19 insertions(+), 32 deletions(-) diff --git a/sass/_project-sass/_project-Website-Gallery.scss b/sass/_project-sass/_project-Website-Gallery.scss index 8653cb88..b42790fc 100644 --- a/sass/_project-sass/_project-Website-Gallery.scss +++ b/sass/_project-sass/_project-Website-Gallery.scss @@ -5,19 +5,19 @@ .website-Gallery{ list-style:none; padding:30px 24px; - + li{ @extend .col-25; float:left; margin-bottom:$spacing*2; color: #666; @include box-shadow(0px 1px 3px 0px rgba(0, 0, 0, 0.18)); - + @media (max-device-width:480px), screen and (max-width:800px){ width:50% } } - + // li a { // display:block; // } @@ -49,6 +49,14 @@ overflow: hidden; text-overflow: ellipsis; } + .admin { + width: 100%; + float: left; + margin-top: 4px; + white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; + } .site-tags .fa-tag { vertical-align: -2px; } @@ -67,20 +75,20 @@ float: left; } } - + &.int-Gall{ - + li { margin:0 .5% 12px; width:24%; - + background-color: white; border: 9px solid white; overflow: hidden; @media (max-width:1000px){ width:32% - } + } @media (max-device-width:480px), screen and (max-width:800px){ width:48%; margin:0 1% 12px; @@ -88,7 +96,7 @@ } &.suggestions { padding: .25em 0 0 0; - + li { margin: 0 1.33% 12px 0; width: 32%; @@ -96,10 +104,10 @@ @media (max-width:1000px){ width:48% - } + } } } - + @media (max-device-width:480px), screen and (max-width:800px){ padding: 4% 2%; } @@ -148,7 +156,7 @@ width: 14.5%; margin-right: 1.5%; margin-bottom: 0; - + @media (max-device-width:480px), screen and (max-width:800px){ width:45%; margin-bottom: 8px; diff --git a/views/browse.erb b/views/browse.erb index f342431c..e550d5a3 100644 --- a/views/browse.erb +++ b/views/browse.erb @@ -127,27 +127,6 @@ -
<%== csrf_token_input_html %>