Skip to content

Commit

Permalink
BEM naming fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
chosak committed Aug 2, 2024
1 parent eed3133 commit aa1d5dd
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 11 deletions.
8 changes: 4 additions & 4 deletions viewer/static_src/css/crawler.less
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.o-radio_buttons {
.search-options {
display: flex;
flex-direction: row;
flex-wrap: wrap;
Expand All @@ -20,15 +20,15 @@
}
}

.results_list {
.results-list {
li {
list-style-type: none;
}

.results_item {
.results-list__item {
padding: 24px 0 !important;

+ .results_item {
+ .results-list__item {
border-top: 1px solid var(--gray-40);
}
}
Expand Down
4 changes: 2 additions & 2 deletions viewer/templates/viewer/page_list.html
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,10 @@
</div>

<div class="block block--sub block--flush-top">
<div class="results_list">
<div class="results-list">
<ul class="m-list">
{% for page in results %}
<li class="results_item">
<li class="results-list__item">
<h4>
<a class="a-link a-link--icon u-nowrap" href="{{ page.url }}">
<span class="a-link__text u-truncate">{{ page.title }}</span>
Expand Down
10 changes: 5 additions & 5 deletions viewer/templates/viewer/search_form.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<form action="{% url 'index' %}">
<div class="o-well">
<div class="o-well">
<form class="o-form" action="{% url 'index' %}">
<h2 class="h3">Search the index</h2>
<div class="o-search-input">
<div class="o-search-input__input">
Expand Down Expand Up @@ -38,7 +38,7 @@ <h2 class="h3">Search the index</h2>
examples
</p>

<div class="o-radio_buttons">
<div class="o-form__group search-options">
<div class="m-form-field m-form-field--radio">
<!-- prettier-ignore -->
<input
Expand Down Expand Up @@ -138,5 +138,5 @@ <h2 class="h3">Search the index</h2>
>
Search
</button>
</div>
</form>
</form>
</div>

0 comments on commit aa1d5dd

Please sign in to comment.