Skip to content

Commit

Permalink
Fix spacing issues
Browse files Browse the repository at this point in the history
  • Loading branch information
georgetayqy committed Jan 29, 2024
1 parent 6153c77 commit b9bfefb
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions docs/dg/learningBasics.md
Original file line number Diff line number Diff line change
Expand Up @@ -366,7 +366,7 @@ Here are some small tasks for you to gain some basic knowledge of the code relat

In `c-summary-charts.vue`, locate `summary-chart__title--name`, and add the following to its `v-bind:class` attribute map.

```vue
```
'active-text': user.name === activeUser && user.repoName === activeRepo
```
</panel>
Expand Down Expand Up @@ -416,7 +416,7 @@ Here are some small tasks for you to gain some basic knowledge of the code relat
3. Try to locate the `span` tag that renders `file.path`, and wraps it inside a new `tooptip`.
4. In the `tooltip`, use the following instructions to handle the switch of tooltip message.

```vue
```
span.tooltip-text(v-show="file.active") This is the file path. Click to hide file details
span.tooltip-text(v-show="!file.active") This is the file path. Click to show file details
```
Expand Down Expand Up @@ -465,7 +465,7 @@ Here are some small tasks for you to gain some basic knowledge of the code relat
3. Wrap the `a` tag in a new `tooltip`.
4. In the `tooltip`, add the following content to show the tooltip message.

```vue
```
span.tooltip-text Click to view the detailed file changes in the commit
```
</panel>
Expand Down
4 changes: 2 additions & 2 deletions docs/dg/styleGuides.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,15 +49,15 @@ In addition to what has been mentioned in the [**Java** coding standard (SE-EDU)

Negative Examples:
```java
//Not okay (Only mentions zoneId parameter):
// Not okay (Only mentions zoneId parameter):
/**
* Returns a {@link LocalDateTime} object adjusted for timezone given by {@code zoneId}.
*/
public LocalDateTime adjustTimeZone(LocalDateTime sinceDate, ZoneId zoneId) {
//Code here
}

//Not okay (@param tag used only for zoneId)
// Not okay (@param tag used only for zoneId)
/**
* Returns a {@link LocalDateTime} object by adjusting {@code sinceDate}
* to the timezone given by {@code zoneId}.
Expand Down

0 comments on commit b9bfefb

Please sign in to comment.