Settings visual

This commit is contained in:
Vlad Kostyanetsky 2024-05-09 02:10:10 +04:00
parent 0cda4b1622
commit e0cda64c6b
2 changed files with 7 additions and 8 deletions

View file

@ -89,7 +89,7 @@ export class TimesheetSettingTab extends PluginSettingTab {
new Setting(containerEl)
.setName("Header")
.setDesc(
"Accessible macros: {tasksDuration} (total duration of all tasks in a note)."
"Macros: {tasksDuration} — total duration of all tasks in a note."
)
.setClass("text-snippets-class")
.addTextArea((text) =>
@ -104,7 +104,7 @@ export class TimesheetSettingTab extends PluginSettingTab {
new Setting(containerEl)
.setName("Task")
.setDesc(
"Accessible macros: {taskNumber} (number of a task), {taskDuration} (total duration of a task)."
"Macros: {taskNumber} — number of a task, {taskDuration} — total duration of a task."
)
.setClass("text-snippets-class")
.addTextArea((text) =>
@ -119,7 +119,7 @@ export class TimesheetSettingTab extends PluginSettingTab {
new Setting(containerEl)
.setName("Task log")
.setDesc(
"Accessible macros: {taskLogTitlePrettified} (prettified task log title)."
"Macros: {taskLogTitlePrettified} — prettified task log title."
)
.setClass("text-snippets-class")
.addTextArea((text) =>
@ -134,7 +134,7 @@ export class TimesheetSettingTab extends PluginSettingTab {
new Setting(containerEl)
.setName("Footer")
.setDesc(
"No accessible macros."
"No macros."
)
.setClass("text-snippets-class")
.addTextArea((text) =>

View file

@ -1,14 +1,13 @@
.text-snippets-class > * > textarea{
width:40em;
height: 100%;
width: 30em;
}
.text-snippets-class > * {
height: 100%;
width: 60em;
width: 40em;
}
.text-snippets-class {
height: 70%;
background-color:
height: 30%;
}