[FIX] Incorrect margin and refactor some CSS
Ensure correct margins on mobile home page
This commit is contained in:
24
src/App.css
24
src/App.css
@@ -317,4 +317,26 @@ label, p, input[type=text], main > span, main div > span {
|
|||||||
.cookie-notice > .button:hover {
|
.cookie-notice > .button:hover {
|
||||||
color: var(--text-color-tinted);
|
color: var(--text-color-tinted);
|
||||||
background-color: var(--primary-color-tinted);
|
background-color: var(--primary-color-tinted);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.progress-history-container {
|
||||||
|
display: table;
|
||||||
|
table-layout: auto;
|
||||||
|
column-gap: 10px;
|
||||||
|
width: 100%;
|
||||||
|
row-gap: 8px;
|
||||||
|
margin-bottom: 10px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.progress-history-container > div {
|
||||||
|
display: table-row;
|
||||||
|
}
|
||||||
|
|
||||||
|
.progress-history-container > div > * {
|
||||||
|
display: table-cell;
|
||||||
|
word-wrap: break-word;
|
||||||
|
padding-top: 2px;
|
||||||
|
padding-bottom: 2px;
|
||||||
|
text-decoration: none;
|
||||||
|
color: inherit;
|
||||||
|
}
|
||||||
|
|||||||
@@ -1,24 +1,3 @@
|
|||||||
.progress-history-container {
|
|
||||||
display: table;
|
|
||||||
table-layout: auto;
|
|
||||||
column-gap: 10px;
|
|
||||||
width: 100%;
|
|
||||||
row-gap: 8px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.progress-history-container > div {
|
|
||||||
display: table-row;
|
|
||||||
}
|
|
||||||
|
|
||||||
.progress-history-container > div > * {
|
|
||||||
display: table-cell;
|
|
||||||
word-wrap: break-word;
|
|
||||||
padding-top: 2px;
|
|
||||||
padding-bottom: 2px;
|
|
||||||
text-decoration: none;
|
|
||||||
color: inherit;
|
|
||||||
}
|
|
||||||
|
|
||||||
.history-sections {
|
.history-sections {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
|
|||||||
Reference in New Issue
Block a user