Skip to content

Commit 6261d39

Browse files
updated view for tables on medium and small resolutions
1 parent 2f94c28 commit 6261d39

File tree

2 files changed

+18
-9
lines changed

2 files changed

+18
-9
lines changed

scaladoc/resources/dotty_res/styles/theme/components/attributes.css

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -82,15 +82,24 @@
8282
width: 80%;
8383
}
8484

85-
/* TODO */
86-
/* @media (max-width: 1376px) {
85+
@media (max-width: 1376px) {
8786
.attributes {
8887
display: flex;
8988
flex-flow: column;
9089
}
9190

9291
.attributes > dt {
9392
padding-left: 0;
93+
padding-bottom: 0;
9494
border-bottom: 0;
95+
text-align: left;
9596
}
96-
} */
97+
98+
.attributes > dd {
99+
border-top: 0;
100+
}
101+
102+
.attributes.attributes-small {
103+
padding-left: 40px;
104+
}
105+
}

scaladoc/resources/dotty_res/styles/theme/layout/content.css

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -148,12 +148,6 @@
148148
margin-block-end: calc(3* var(--base-spacing));
149149
}
150150

151-
#content .cover > h2 {
152-
color: var(--text-secondary);
153-
margin: 8px 0 0;
154-
padding: 12px var(--base-spacing);
155-
}
156-
157151
#content .cover > h2 {
158152
color: var(--text-secondary);
159153
margin: 0;
@@ -164,6 +158,12 @@
164158
margin: 8px 0 0;
165159
}
166160

161+
@media (max-width: 1376px) {
162+
#content .cover > h2 {
163+
padding-left: 0;
164+
}
165+
}
166+
167167
/* content first paragraph */
168168
.first-p {
169169
margin-block-start: calc(2* var(--base-spacing));

0 commit comments

Comments
 (0)