Skip to content

Commit 9a053f6

Browse files
feat(datetime): add divider to datetime-action-buttons (#30509)
Issue number: internal --------- ## What is the new behavior? <!-- Please describe the behavior or changes that are being added by this PR. --> Now, the action buttons have a divider for improved readability. ## Does this introduce a breaking change? - [ ] Yes - [x] No <!-- If this introduces a breaking change: 1. Describe the impact and migration path for existing applications below. 2. Update the BREAKING.md file with the breaking change. 3. Add "BREAKING CHANGE: [...]" to the commit description when merging. See https://github.com/ionic-team/ionic-framework/blob/main/docs/CONTRIBUTING.md#footer for more information. --> ## Other information [ionic preview](https://ionic-framework-git-rou-11884-ionic1.vercel.app/src/components/datetime/test/basic?ionic:theme=ionic) <!-- Any other information that is important to this PR such as screenshots of how the component looks before and after the change. --> --------- Co-authored-by: ionitron <hi@ionicframework.com>
1 parent f42e39e commit 9a053f6

File tree

26 files changed

+12
-1
lines changed

26 files changed

+12
-1
lines changed

core/src/components/datetime/datetime.ionic.scss

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434

3535
margin-bottom: globals.$ion-space-200;
3636

37-
border-bottom: globals.$ion-border-style-solid globals.$ion-border-size-025 globals.$ion-primitives-neutral-300;
37+
border-bottom: globals.$ion-border-style-solid globals.$ion-border-size-025 globals.$ion-primitives-neutral-400;
3838
}
3939

4040
:host .datetime-header .datetime-title {
@@ -216,6 +216,17 @@
216216

217217
// Calendar / Footer / Action Buttons
218218
// -----------------------------------
219+
:host .datetime-footer {
220+
@include globals.padding(globals.$ion-space-200, 0, 0, 0);
221+
@include globals.margin(globals.$ion-space-200, 0, 0, 0);
222+
@include globals.border(
223+
globals.$ion-border-style-solid globals.$ion-border-size-025 globals.$ion-primitives-neutral-400,
224+
0,
225+
0,
226+
0
227+
);
228+
}
229+
219230
:host .datetime-buttons ion-buttons,
220231
.datetime-action-buttons .datetime-action-buttons-container {
221232
flex-flow: column;

0 commit comments

Comments
 (0)