Skip to content

Commit

Permalink
modify style
Browse files Browse the repository at this point in the history
  • Loading branch information
Grace-Amondi committed Jun 20, 2023
1 parent 00098ea commit 8f6023a
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 4 deletions.
1 change: 1 addition & 0 deletions nmhs_cms/static/css/navigation.css
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,7 @@ header {
.main-logo img {
height: 100%;
object-fit: contain;
padding: 0.3rem 0;
}

.navbar-brand {
Expand Down
3 changes: 2 additions & 1 deletion pages/products/static/css/product_detail.css
Original file line number Diff line number Diff line change
Expand Up @@ -55,10 +55,11 @@
}

.categories .tabs .tab.active {
background: #f6fdff;
background: #f9f9f9;
border-bottom-left-radius: 8px;
border-top-left-radius: 8px;
color: var(--primary-color);
font-weight:600;
}

.content-container .content {
Expand Down
5 changes: 3 additions & 2 deletions pages/products/templates/products/product_detail.html
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,13 @@
</span>
<span class="category-title">{{ category.name }}</span>
</div>
<div class="tabs" role="tablist">
<div class="tabs" role="tablist" style="white-space:normal">
{% for slug, product_item in products.items %}
{% if product_item.value.product_item_type.category.id == category_id %}
<a class="tab" id="tab-label-content"
href="#tab-{{ slug }}"
role="tab" aria-controls="tab-{{ slug }}">
role="tab" aria-controls="tab-{{ slug }}"
style="border-bottom-style:none !important">
{{ product_item.value.product_item_type.name }}
</a>
{% endif %}
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ fonttools==4.39.4
forecastmanager==0.0.3
frozenlist==1.3.3
future==0.18.3
geomanager @ https://github.com/wmo-raf/geomanager/archive/293cad37366bd42680f56906a5c86f8b97cfe783.zip
geomanager @ https://github.com/wmo-raf/geomanager/archive/b23b7ba49883a0d86cf992f9f65d395ac89812c6.zip
geopandas==0.13.0
google-api-core==2.11.0
google-api-python-client==2.79.0
Expand Down

0 comments on commit 8f6023a

Please sign in to comment.