Add padding to year display
This commit is contained in:
4
ui.R
4
ui.R
@@ -167,7 +167,7 @@ ui <- function() {
|
||||
card(
|
||||
div(
|
||||
# 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.
|
||||
# Ein span nimmt nur den Platz ein, den der Inhalt benötigt (inline).
|
||||
tags$span(
|
||||
@@ -175,7 +175,7 @@ ui <- function() {
|
||||
style = "
|
||||
border: 1px solid rgba(40,70,94,0.1);
|
||||
border-radius: 5px;
|
||||
padding: 5px 10px 5px 10px;
|
||||
padding: 2px 8px;
|
||||
background-color: #eeeeee;
|
||||
"
|
||||
# padding ist der abstand an leerer Fläche in der reihenfolge top right bottom left
|
||||
|
||||
Reference in New Issue
Block a user