Skip to content

Commit 8b0067e

Browse files
committed
minor padpane style
1 parent 187cdb3 commit 8b0067e

3 files changed

Lines changed: 7 additions & 16 deletions

File tree

src/pad/padPane.css

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
min-width: 94%;
44
margin-right: 3%;
55
margin-left: 3%;
6-
min-height: 13em;
6+
min-height: 13rem;
77
display: flex;
88
flex-direction: column;
99
box-sizing: border-box;
@@ -21,14 +21,18 @@
2121
}
2222

2323
.pad-controls {
24-
gap: 0.5em;
24+
gap: 0.5rem;
2525
align-items: center;
2626
}
2727

2828
.pad-cell {
2929
flex: 1 1 auto;
3030
}
3131

32+
.pad-new-instance-message {
33+
font-size: 140%;
34+
}
35+
3236
@media (max-width: 600px) {
3337
.pad-controls .pad-cell {
3438
flex: 1 1 100%;

src/pad/padPane.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -394,7 +394,7 @@ const paneDef: PaneDefinition = {
394394
// give the user links to the new app
395395

396396
const p = div.appendChild(dom.createElement('p'))
397-
p.setAttribute('style', 'font-size: 140%;')
397+
p.classList.add('pad-new-instance-message')
398398
p.innerHTML =
399399
'Your <a href=\'' +
400400
newIndexDoc.uri +

src/styles/padPane.old.css

Lines changed: 0 additions & 13 deletions
This file was deleted.

0 commit comments

Comments
 (0)