#74 some code fixes

This commit is contained in:
Anton Romanov 2019-04-16 13:41:10 +04:00
parent 95f70f425a
commit d81d1cf72c
3 changed files with 840 additions and 864 deletions

View File

@ -23,15 +23,11 @@ public class TagService {
return tags return tags
.stream() .stream()
.map(tag -> { .map(tag -> {
if (tag.getId() != null) { if (tag.getId() != null) {
return getExistById(tag); return getExistById(tag);
} else { } else {
Tag existTag = isExistByName(tag.getTagName()); Tag existTag = isExistByName(tag.getTagName());
if (existTag != null) { return existTag != null ? existTag : create(tag);
return existTag;
} else {
return create(tag);
}
} }
}).collect(Collectors.toList()); }).collect(Collectors.toList());
} }

View File

@ -777,25 +777,11 @@ ul.social-buttons li a:active, ul.social-buttons li a:focus, ul.social-buttons l
box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05); box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
} }
@media (min-width: 1500px) {
.col-xl-3 {
max-width: 20%;
}
.container {
max-width: 1340px;
}
}
.toolbar-button { .toolbar-button {
width: 100%; width: 100%;
margin: 5px; margin: 5px;
} }
.img-fluid {
width: 100% !important;
}
/* --------------------------------------------------- /* ---------------------------------------------------
FEEDBACK STYLE FEEDBACK STYLE
----------------------------------------------------- */ ----------------------------------------------------- */

View File

@ -10,12 +10,6 @@
<!-- Portfolio Grid --> <!-- Portfolio Grid -->
<section class="bg-light" id="portfolio"> <section class="bg-light" id="portfolio">
<div class="container"> <div class="container">
<div class="row">
<div class="col-lg-12 text-center">
<h2 class="section-heading text-uppercase">Work hard</h2>
<h3 class="section-subheading text-muted">sometimes</h3>
</div>
</div>
<div class="row"> <div class="row">
<div class="col-md-4 col-sm-6 portfolio-item"> <div class="col-md-4 col-sm-6 portfolio-item">
<a class="portfolio-link" href="./papers/papers"> <a class="portfolio-link" href="./papers/papers">