Add padding to year display
This commit is contained in:
4
ui.R
4
ui.R
@@ -167,7 +167,7 @@ ui <- function() {
|
|||||||
card(
|
card(
|
||||||
div(
|
div(
|
||||||
# h3 oder div dient als Block-Element und richtet seinen Inhalt (das span) rechtsbündig aus
|
# h3 oder div dient als Block-Element und richtet seinen Inhalt (das span) rechtsbündig aus
|
||||||
style = "text-align: right; width: 100%; ",
|
style = "text-align: right; width: 100%; padding: 5px 10px 0 0;",
|
||||||
# Der Text wird in ein span verpackt und erhält die Border.
|
# Der Text wird in ein span verpackt und erhält die Border.
|
||||||
# Ein span nimmt nur den Platz ein, den der Inhalt benötigt (inline).
|
# Ein span nimmt nur den Platz ein, den der Inhalt benötigt (inline).
|
||||||
tags$span(
|
tags$span(
|
||||||
@@ -175,7 +175,7 @@ ui <- function() {
|
|||||||
style = "
|
style = "
|
||||||
border: 1px solid rgba(40,70,94,0.1);
|
border: 1px solid rgba(40,70,94,0.1);
|
||||||
border-radius: 5px;
|
border-radius: 5px;
|
||||||
padding: 5px 10px 5px 10px;
|
padding: 2px 8px;
|
||||||
background-color: #eeeeee;
|
background-color: #eeeeee;
|
||||||
"
|
"
|
||||||
# padding ist der abstand an leerer Fläche in der reihenfolge top right bottom left
|
# padding ist der abstand an leerer Fläche in der reihenfolge top right bottom left
|
||||||
|
|||||||
Reference in New Issue
Block a user