Skip to content

Commit dd792ca

Browse files
committed
[PROJ-18.4/compl] layout-content-element
Adding adaptive behavior (up to @576px). Testing/mostly for "overflow". Worth noting: - moment/unresolved with duplication of the "Done" button (when testing for "overflow"). FS-dev: B-3 / JS basic
1 parent 991ecd5 commit dd792ca

File tree

4 files changed

+7
-2
lines changed

4 files changed

+7
-2
lines changed

full-stack-dev/3-js-basic/18-proj-habit-tracker/18-4-layout-content-element/css/habbit-days.css

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@
4242
.habbit-days__comment {
4343
font-weight: var(--medium, 500);
4444
font-size: 16px;
45+
line-height: 130%;
4546
color: var(--secondary-color, #23235F);
4647
}
4748

@@ -71,7 +72,7 @@
7172
display: flex;
7273
align-items: center;
7374
align-self: stretch;
74-
column-gap: 15px;
75+
gap: 15px 10px;
7576
padding: 10px 15px 10px 25px;
7677
width: 100%;
7778
}

full-stack-dev/3-js-basic/18-proj-habit-tracker/18-4-layout-content-element/css/progress-bar.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
row-gap: 12px;
55
width: 100%;
66
max-width: 235px;
7+
cursor: help;
78
}
89

910
.progress-bar__heading-wrap {

full-stack-dev/3-js-basic/18-proj-habit-tracker/18-4-layout-content-element/css/sidebar.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,10 @@
8282
will-change: background;
8383
}
8484

85+
.sidebar__add-btn:not(:last-of-type) {
86+
margin-bottom: 25px;
87+
}
88+
8589
.sidebar__add-btn:focus-visible {
8690
outline-color: var(--add-color-11, #a87ae4);
8791
}

full-stack-dev/3-js-basic/18-proj-habit-tracker/18-4-layout-content-element/index.html

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,6 @@
5353
</button>
5454
</div>
5555
</aside>
56-
5756
<main class="content app__content" id="content" aria-label="Контент приложения">
5857
<header class="content__header">
5958
<h1 class="content__title">Отжимания</h1>

0 commit comments

Comments
 (0)