Skip to content

Commit ba680b5

Browse files
committed
Two cleanups
Updated the typography base file which means no overriding p tags Fixing lint issues Signed-off-by: Matt Farina <matt.farina@suse.com>
1 parent 29ca1c9 commit ba680b5

File tree

2 files changed

+4
-13
lines changed

2 files changed

+4
-13
lines changed

src/assets/styles/base/_typography.scss

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -35,18 +35,14 @@ H6 {
3535
}
3636

3737
P {
38-
font-size: 1.4em;
39-
line-height: 1.75em;
4038
font-weight: 400;
4139
font-style: normal;
4240
margin: 0;
4341
}
4442

4543
//code
4644
code, samp, kbd, .monospace {
47-
font-family: "Courier New", Courier, monospace, sans-serif;
4845
text-align: left;
49-
// color: var(--secondary);
5046
}
5147

5248
pre {
@@ -58,13 +54,14 @@ pre {
5854
}
5955

6056
code {
61-
background: var(--box-bg);
62-
padding: 2.5px 10px;
57+
background-color: var(--box-bg);
58+
display: inline-block;
59+
padding: 5px;
60+
border: 1px solid var(--border);
6361
border-radius: var(--border-radius);
6462
}
6563

6664
pre code {
6765
background: transparent;
6866
padding: 0;
6967
}
70-

src/pages/General.vue

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,6 @@
1313
<li>Project Discussions: #rancher-desktop in <a href="#" onclick="require('electron').shell.openExternal('https://slack.rancher.io/')">Rancher Users</a> Slack</li>
1414
<li>Project Links: <a href="#" onclick="require('electron').shell.openExternal('https://github.com/rancher-sandbox/rd')">Homepage</a> <a href="#" onclick="require('electron').shell.openExternal('https://github.com/rancher-sandbox/rd/issues')">Issues</a></li>
1515
</ul>
16-
</p>
17-
1816
</div>
1917
<hr>
2018
<telemetry-opt-in
@@ -63,8 +61,4 @@ export default {
6361
margin-bottom: .5em;
6462
}
6563
66-
.general p {
67-
font-size: 1em;
68-
}
69-
7064
</style>

0 commit comments

Comments
 (0)