Skip to content

Commit 7ba46bd

Browse files
committed
Settings button design
1 parent b5bfb65 commit 7ba46bd

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

apps/countdown/ui.R

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
library(shiny)
2+
library(shinyWidgets)
23
library(particlesjs)
34

45
ui <- basicPage(
@@ -7,7 +8,7 @@ ui <- basicPage(
78
tags$link(rel = "stylesheet", type = "text/css", href = "app.css")
89
),
910
particles(),
10-
actionButton('settings_show', 'Settings'),
11+
actionBttn('settings_show', 'Settings', icon = icon('gear'), style = 'material-circle'),
1112

1213
div(
1314
h1(uiOutput('title')),

apps/countdown/www/app.css

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,10 @@
88
padding: 25px 30px;
99
border-radius: 25px;
1010
}
11+
12+
#settings_show {
13+
position: absolute;
14+
top: 25px;
15+
right: 25px;
16+
color: black;
17+
}

0 commit comments

Comments
 (0)